SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CON312
Deploy a Scalable SAP Hybris Cluster
with Docker on Amazon ECS
Hemanth Jayaraman Rent-A-Center Director, DevOps
Aater Suleman Flux7 Labs Inc. CEO & Co-Founder
December 1, 2016
Today’s Presenter
Sr. Director, DevOps
Rent-A-Center owns 3,000 rent-to-own
retail stores for name-brand furniture,
electronics, appliances, and computers
across the U.S.
http://www.rentacenter.com
Today’s Presenter
Aater Suleman
Co-Founder & CEO Flux7
Faculty, UT Austin
Cloud and DevOps Solutions
Headquartered in Austin, Texas
Team Members
Troy Washburn
James Lucas
Xiaolin Liu
Junhong Liu
Tyson Malik
Samprita Hedge
Ashay Chitnis
Nitin Ayyagari
Juan Mesa
Artem Kobrin
Ali Hussain
Outline
Evolution of DevOps at RAC
The e-commerce platform
○Business case
○Architecture
○Challenges and Lessons Learned
The outcomes
DevOps Timeline
2015 2015 2016 2016 Q4Q1 Q4 Q1
DevOps
Organization
at RAC
VAN Project on
AWS
Infrastructure as
Code/ELK Stack
eCommerce
project
launch eCommerce
Go-Live
Serverless
Computing
Oracle RDS
Migration
Business Case for VAN Project
• Secure B2B portal for our Acceptance Now business unit
which enables our partners to help grow their business
by increasing sales and expanding their customer base.
• PII data and PCI compliance requirements
First Success
Security: No last-minute surprises before go-live;
Least Privilege; RDS patching,
Centralized Logging, Threat protection,
Encryption at-rest and in-motion.
Availability: HA with multi-AZ solution; Auto-Scaling
Innovation: Infrastructure as Code, Agility and
Flexibility, Ansible playbooks as build
docs
Evolution: E-commerce Platform
Digital transformation:
Give our customers the
ability to rent online
Unified view of
customer
Self-service account
management
SAP Hybris selected
as the eCommerce
platform
Goals
Setup an SAP Hybris
ecommerce platform to
scale to 2 million users a
month
Ability to support
Black Friday traffic
Secure for PCI
Compliance
Stateless infrastructure -
HA across all components
including DR
Create an agile developer
workflow for rapid
execution
No downtime
deployment
Performance Scalability Security
High Availability Agility CI/CD
Outline
Evolution of DevOps at RAC
The e-commerce platform
○Architecture
○Challenges and Lessons Learned
The outcomes
Process
Phase 2: Attune
Phase 3:
Knowledge Transfer
Phase 1: Assess
Run the 2-week sprints
Transfer the knowledge at the end of each sprint
Understand the requirements and the current state, architect the desired
state, and create a punch list
High-Level Diagram
Lambda ECS
Aurora
S3CloudFront WAF
ECR
Private subnetPublic subnet
Storefront
Admin
Aurora
CloudWatch
CloudFormation
CloudTrail
KMS
SES
Route53
S3
bucket
(static
assets)
NAT
Gateway
WAF
CloudFront
Lambda Codecommit
ACM Cert
Manager
Direct Connect
Each subnet represents a pair in two AZs.
All components configured to span two AZs.
Details of ECS Clusters
Storefront
Admin
Admin
SCM
Dev
Build
Code +
Dockerfile
On-premise AWS
Update
ECS
Image
ECR
ECS
Nodes
Code Deployment
Deploy
Update
ECS Nodes
CF
Infrastructure Provisioning
DevOps SCM
Jenkins
EC2
ECS
Lambda
Other AWS
Services
CloudFormation
Templates
Trigger Create/Update Stack
Deploying Aurora DB with Hybris
Performance
Scaling
Low management
overhead
Use of AWS Aurora
DB instead of Oracle
or MySQL
Hybris supports
MySQL, Aurora
worked out of the box
Why? What? How?
Using AWS WAF (OWASP Top 10)
PCI-ready AWS WAF used to filter
traffic per rules
-CloudFront logs written to
S3
-S3 triggered Lambda
-Offending IPs were
blocked
Why? How?
To S3 and
ELB
Trigger
Lambda
Configure
rules
ECS Auto-scaling
Servicing seasonal
traffic patterns at high
performance and low
cost
ECS auto-scaling to scale individual services
Lambda function to auto-scale underlying ECS
nodes:
-Read stats from ECS
-Decide when to scale up/down -Trigger the
operation
Why? How?
ECS Autoscaling (Cont’d)
Read current
state of ECS and
ASG
Trigger Lambda
every 5 mins
let 0 … n be the running ECS services
let dck be the desired number of containers of service k
Let desiredCnt be the current desired number of instance in ASG
Let minCnt be the minimum number of instances needed in ASG
Let maxCnt be the maximum number of instances allowed in ASG
max ← MAX(dc0, .., dcn)
instanceCnt ← max + extraCapacity
If instanceCnt ≠ desiredCnt AND instanceCnt <= maxCnt AND
instanceCnt >= minCnt:
Update ASG desiredCnt to instanceCnt
Update Auto-Scaling Groups with new
desired instancesOur blog: https://aws.amazon.com/blogs/compute/amazon-
ecs-service-auto-scaling-enables-rent-a-center-sap-hybris-
solution/
Hybris Node Discovery
- Hybris nodes needs to be aware of each other
- Standard method (multi-cast) doesn’t work in VPCs
- Solution: Each Hybris process registers its IP:Port to
the DB
But, how does the process know its IP?
What?
Hybris Node Discovery (Cont’d)
Problem: Hybris can get the IP of the container it’s running in
but container IP is irrelevant. Need host IP.
Interim Solution: Wrote a startup script to get host IP using
EC2 metadata and passed on the IP to Hybris as a config
Better solution: Network Overlay (feature request to ECS
team)
Outline
Evolution of DevOps at RAC
The e-commerce platform
○Architecture
○Challenges and Lessons Learned
The outcomes
Outcomes
Business: Growth-driver, 360 degree customer view
Security: PCI Compliant ready, immutable infrastructure
Availability: HA with multi-AZ solution; Auto-Scaling
Innovation:
Infrastructure as Code
Agile and Flexible infrastructure
Automated delivery of infrastructure, code,
containers, and security rules
PCI Compliance
What? How?
The infrastructure is
expected to undergo a PCI
audit
Several Best Practices Applied:
Separate AWS accounts for Prod
SSO for AWS Console
IAM Roles for AWS Credentials
AWS account activity logged using CloudTrail
No VMs in DMZ (aka. Public subnets)
Multi-VPC, DirectConnect to on-premise
Immutable Docker containers with no human logins
DB credentials remain encrypted in S3 using KMS and
injected into app container via env on demand
All data encrypted at rest using EBS encryption
Encrypt web traffic using SSL from AWS Cert Mngr.
AWS WAF to block suspicious web traffic
Ansible/Docker to automate patch management
Summary
AWS evolution from EC2 instances, ECS Docker containers to
Serverless architecture
DevOps journey: X-As-a-Service, Infrastructure as Code, Micro-
Services, CI/CD
DevOps business drivers: lower TCO, faster release cycles
Digital transformation has enabled business to be more agile: speed to
market, greater stability and increased reliability
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

데이터 분석가를 위한 신규 분석 서비스 - 김기영, AWS 분석 솔루션즈 아키텍트 / 변규현, 당근마켓 소프트웨어 엔지니어 :: AWS r...
데이터 분석가를 위한 신규 분석 서비스 - 김기영, AWS 분석 솔루션즈 아키텍트 / 변규현, 당근마켓 소프트웨어 엔지니어 :: AWS r...데이터 분석가를 위한 신규 분석 서비스 - 김기영, AWS 분석 솔루션즈 아키텍트 / 변규현, 당근마켓 소프트웨어 엔지니어 :: AWS r...
데이터 분석가를 위한 신규 분석 서비스 - 김기영, AWS 분석 솔루션즈 아키텍트 / 변규현, 당근마켓 소프트웨어 엔지니어 :: AWS r...
 
[AWS Builders 온라인 시리즈] AWS 서비스를 활용하여 파일 스토리지 빠르게 마이그레이션 하기 - 서지혜, AWS 솔루션즈 아키텍트
[AWS Builders 온라인 시리즈]  AWS 서비스를 활용하여 파일 스토리지 빠르게 마이그레이션 하기 - 서지혜, AWS 솔루션즈 아키텍트[AWS Builders 온라인 시리즈]  AWS 서비스를 활용하여 파일 스토리지 빠르게 마이그레이션 하기 - 서지혜, AWS 솔루션즈 아키텍트
[AWS Builders 온라인 시리즈] AWS 서비스를 활용하여 파일 스토리지 빠르게 마이그레이션 하기 - 서지혜, AWS 솔루션즈 아키텍트
 
KB국민은행은 시작했다 -  쉽고 빠른 클라우드 거버넌스 적용 전략 - 강병억 AWS 솔루션즈 아키텍트 / 장강홍 클라우드플랫폼단 차장, ...
KB국민은행은 시작했다 -  쉽고 빠른 클라우드 거버넌스 적용 전략 - 강병억 AWS 솔루션즈 아키텍트 / 장강홍 클라우드플랫폼단 차장, ...KB국민은행은 시작했다 -  쉽고 빠른 클라우드 거버넌스 적용 전략 - 강병억 AWS 솔루션즈 아키텍트 / 장강홍 클라우드플랫폼단 차장, ...
KB국민은행은 시작했다 -  쉽고 빠른 클라우드 거버넌스 적용 전략 - 강병억 AWS 솔루션즈 아키텍트 / 장강홍 클라우드플랫폼단 차장, ...
 
아키텍처 현대화 분야 신규 서비스 - 주성식, AWS 솔루션즈 아키텍트 :: AWS re:Invent re:Cap 2021
아키텍처 현대화 분야 신규 서비스 - 주성식, AWS 솔루션즈 아키텍트 :: AWS re:Invent re:Cap 2021아키텍처 현대화 분야 신규 서비스 - 주성식, AWS 솔루션즈 아키텍트 :: AWS re:Invent re:Cap 2021
아키텍처 현대화 분야 신규 서비스 - 주성식, AWS 솔루션즈 아키텍트 :: AWS re:Invent re:Cap 2021
 
AWS Lake Formation을 통한 손쉬운 데이터 레이크 구성 및 관리 - 윤석찬 :: AWS Unboxing 온라인 세미나
AWS Lake Formation을 통한 손쉬운 데이터 레이크 구성 및 관리 - 윤석찬 :: AWS Unboxing 온라인 세미나AWS Lake Formation을 통한 손쉬운 데이터 레이크 구성 및 관리 - 윤석찬 :: AWS Unboxing 온라인 세미나
AWS Lake Formation을 통한 손쉬운 데이터 레이크 구성 및 관리 - 윤석찬 :: AWS Unboxing 온라인 세미나
 
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
AWS Black Belt Techシリーズ Cost Explorer
AWS Black Belt Techシリーズ Cost ExplorerAWS Black Belt Techシリーズ Cost Explorer
AWS Black Belt Techシリーズ Cost Explorer
 
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
 
AWS 클라우드 핵심 서비스로 클라우드 기반 아키텍처 빠르게 구성하기 - 문종민 솔루션즈 아키텍트, AWS :: AWS Summit Seo...
AWS 클라우드 핵심 서비스로 클라우드 기반 아키텍처 빠르게 구성하기 - 문종민 솔루션즈 아키텍트, AWS :: AWS Summit Seo...AWS 클라우드 핵심 서비스로 클라우드 기반 아키텍처 빠르게 구성하기 - 문종민 솔루션즈 아키텍트, AWS :: AWS Summit Seo...
AWS 클라우드 핵심 서비스로 클라우드 기반 아키텍처 빠르게 구성하기 - 문종민 솔루션즈 아키텍트, AWS :: AWS Summit Seo...
 
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsIntroduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless Applications
 
HSBC and AWS
HSBC and AWSHSBC and AWS
HSBC and AWS
 
AWS Code + AWS Device Farm
AWS Code + AWS Device FarmAWS Code + AWS Device Farm
AWS Code + AWS Device Farm
 
Using Active Directory in AWS
Using Active Directory in AWSUsing Active Directory in AWS
Using Active Directory in AWS
 
Amazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for KubernetesAmazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for Kubernetes
 
금융 분야 마이데이터 (My Data) 산업 도입 방안 및 AWS 활용법 – 고종원 AWS 어카운트 매니저, 양찬욱 KB국민카드 팀장:: ...
금융 분야 마이데이터 (My Data) 산업 도입 방안 및 AWS 활용법 – 고종원 AWS 어카운트 매니저, 양찬욱 KB국민카드 팀장:: ...금융 분야 마이데이터 (My Data) 산업 도입 방안 및 AWS 활용법 – 고종원 AWS 어카운트 매니저, 양찬욱 KB국민카드 팀장:: ...
금융 분야 마이데이터 (My Data) 산업 도입 방안 및 AWS 활용법 – 고종원 AWS 어카운트 매니저, 양찬욱 KB국민카드 팀장:: ...
 
Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute ServicesIntro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute Services
 

Andere mochten auch

Amazon Military Talent Program
Amazon Military Talent ProgramAmazon Military Talent Program
Amazon Military Talent Program
brianraymonddolan
 
vanEngelen 360 Inspiratieborrel - Trends Update 2014
vanEngelen 360 Inspiratieborrel - Trends Update 2014vanEngelen 360 Inspiratieborrel - Trends Update 2014
vanEngelen 360 Inspiratieborrel - Trends Update 2014
Van Engelen
 
Advanced Microservices - Greach 2015
Advanced Microservices - Greach 2015Advanced Microservices - Greach 2015
Advanced Microservices - Greach 2015
Steve Pember
 
FDA's Brian Bradley Case Study and Process Review of the Veterans Review and ...
FDA's Brian Bradley Case Study and Process Review of the Veterans Review and ...FDA's Brian Bradley Case Study and Process Review of the Veterans Review and ...
FDA's Brian Bradley Case Study and Process Review of the Veterans Review and ...
Foundation for Democratic Advancement
 

Andere mochten auch (20)

Interact Differently: Get More From Your Tools Through Exposed APIs
Interact Differently: Get More From Your Tools Through Exposed APIsInteract Differently: Get More From Your Tools Through Exposed APIs
Interact Differently: Get More From Your Tools Through Exposed APIs
 
Amazon Military Talent Program
Amazon Military Talent ProgramAmazon Military Talent Program
Amazon Military Talent Program
 
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
 
Next-gen Network Telemetry is Within Your Packets: In-band OAM
Next-gen Network Telemetry is Within Your Packets: In-band OAMNext-gen Network Telemetry is Within Your Packets: In-band OAM
Next-gen Network Telemetry is Within Your Packets: In-band OAM
 
Delphi XE2, door André Mussche op de 4DotNet Developers Day
Delphi XE2, door André Mussche op de 4DotNet Developers DayDelphi XE2, door André Mussche op de 4DotNet Developers Day
Delphi XE2, door André Mussche op de 4DotNet Developers Day
 
Building mental models
Building mental modelsBuilding mental models
Building mental models
 
Can you handle The TRUTH ,..? Missing page history of JESUS and Hidden TRUTH
Can you handle The TRUTH ,..?  Missing page history of JESUS and Hidden TRUTHCan you handle The TRUTH ,..?  Missing page history of JESUS and Hidden TRUTH
Can you handle The TRUTH ,..? Missing page history of JESUS and Hidden TRUTH
 
De tabernakel
De tabernakelDe tabernakel
De tabernakel
 
Monitoring & Analysis 101 - N00b to Ninja in 60 Minutes at ISSW on April 9, 2016
Monitoring & Analysis 101 - N00b to Ninja in 60 Minutes at ISSW on April 9, 2016Monitoring & Analysis 101 - N00b to Ninja in 60 Minutes at ISSW on April 9, 2016
Monitoring & Analysis 101 - N00b to Ninja in 60 Minutes at ISSW on April 9, 2016
 
DOXLON November 2016: Facebook Engineering on cgroupv2
DOXLON November 2016: Facebook Engineering on cgroupv2DOXLON November 2016: Facebook Engineering on cgroupv2
DOXLON November 2016: Facebook Engineering on cgroupv2
 
vanEngelen 360 Inspiratieborrel - Trends Update 2014
vanEngelen 360 Inspiratieborrel - Trends Update 2014vanEngelen 360 Inspiratieborrel - Trends Update 2014
vanEngelen 360 Inspiratieborrel - Trends Update 2014
 
Using NLP to find contextual relationships between fashion houses
Using NLP to find contextual relationships between fashion housesUsing NLP to find contextual relationships between fashion houses
Using NLP to find contextual relationships between fashion houses
 
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlowCohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
 
Dashboards: Using data to find out what's really going on
Dashboards: Using data to find out what's really going onDashboards: Using data to find out what's really going on
Dashboards: Using data to find out what's really going on
 
Advanced Microservices - Greach 2015
Advanced Microservices - Greach 2015Advanced Microservices - Greach 2015
Advanced Microservices - Greach 2015
 
Image (PNG) Forensic Analysis
Image (PNG) Forensic Analysis	Image (PNG) Forensic Analysis
Image (PNG) Forensic Analysis
 
FDA's Brian Bradley Case Study and Process Review of the Veterans Review and ...
FDA's Brian Bradley Case Study and Process Review of the Veterans Review and ...FDA's Brian Bradley Case Study and Process Review of the Veterans Review and ...
FDA's Brian Bradley Case Study and Process Review of the Veterans Review and ...
 
Build Stuff 2015 program
Build Stuff 2015 programBuild Stuff 2015 program
Build Stuff 2015 program
 
Cloud adoption patterns
Cloud adoption patternsCloud adoption patterns
Cloud adoption patterns
 
Database2011 MySQL Sharding
Database2011 MySQL ShardingDatabase2011 MySQL Sharding
Database2011 MySQL Sharding
 

Ähnlich wie AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)

AWS Cloud Kata | Manila - Getting to Scale on AWS
AWS Cloud Kata | Manila - Getting to Scale on AWSAWS Cloud Kata | Manila - Getting to Scale on AWS
AWS Cloud Kata | Manila - Getting to Scale on AWS
Amazon Web Services
 
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Amazon Web Services
 
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
Craeg Strong
 

Ähnlich wie AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312) (20)

AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...
AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...
AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...
 
AWS Summit Singapore Webinar Edition | More Containers, Less Operations & Mig...
AWS Summit Singapore Webinar Edition | More Containers, Less Operations & Mig...AWS Summit Singapore Webinar Edition | More Containers, Less Operations & Mig...
AWS Summit Singapore Webinar Edition | More Containers, Less Operations & Mig...
 
AWS Summit Singapore - More Containers, Less Operations
AWS Summit Singapore - More Containers, Less OperationsAWS Summit Singapore - More Containers, Less Operations
AWS Summit Singapore - More Containers, Less Operations
 
SMC301 The State of Serverless Computing
SMC301 The State of Serverless ComputingSMC301 The State of Serverless Computing
SMC301 The State of Serverless Computing
 
Aws-What You Need to Know_Simon Elisha
Aws-What You Need to Know_Simon ElishaAws-What You Need to Know_Simon Elisha
Aws-What You Need to Know_Simon Elisha
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
Secure your critical workload on AWS
Secure your critical workload on AWSSecure your critical workload on AWS
Secure your critical workload on AWS
 
AWS Cloud Kata | Manila - Getting to Scale on AWS
AWS Cloud Kata | Manila - Getting to Scale on AWSAWS Cloud Kata | Manila - Getting to Scale on AWS
AWS Cloud Kata | Manila - Getting to Scale on AWS
 
Compute Without Servers – Building Applications with AWS Lambda - Technical 301
Compute Without Servers – Building Applications with AWS Lambda - Technical 301Compute Without Servers – Building Applications with AWS Lambda - Technical 301
Compute Without Servers – Building Applications with AWS Lambda - Technical 301
 
SRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerSRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and Docker
 
Getting Started with Windows Workloads on Amazon EC2 - Toronto
 Getting Started with Windows Workloads on Amazon EC2 - Toronto Getting Started with Windows Workloads on Amazon EC2 - Toronto
Getting Started with Windows Workloads on Amazon EC2 - Toronto
 
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
 
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
 
Amazon Webservices Introduction And Core Modules
Amazon Webservices Introduction And Core Modules Amazon Webservices Introduction And Core Modules
Amazon Webservices Introduction And Core Modules
 
Deep Dive on Microservices and Docker
Deep Dive on Microservices and DockerDeep Dive on Microservices and Docker
Deep Dive on Microservices and Docker
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
AWS re:Invent 2016 Day 2 Keynote re:Cap
AWS re:Invent 2016 Day 2 Keynote re:CapAWS re:Invent 2016 Day 2 Keynote re:Cap
AWS re:Invent 2016 Day 2 Keynote re:Cap
 
AWS re:Invent 2016 Day 2 Keynote re:Cap
AWS re:Invent 2016 Day 2 Keynote re:CapAWS re:Invent 2016 Day 2 Keynote re:Cap
AWS re:Invent 2016 Day 2 Keynote re:Cap
 
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
 

Mehr von Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mehr von Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)

  • 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CON312 Deploy a Scalable SAP Hybris Cluster with Docker on Amazon ECS Hemanth Jayaraman Rent-A-Center Director, DevOps Aater Suleman Flux7 Labs Inc. CEO & Co-Founder December 1, 2016
  • 2. Today’s Presenter Sr. Director, DevOps Rent-A-Center owns 3,000 rent-to-own retail stores for name-brand furniture, electronics, appliances, and computers across the U.S. http://www.rentacenter.com
  • 3. Today’s Presenter Aater Suleman Co-Founder & CEO Flux7 Faculty, UT Austin Cloud and DevOps Solutions Headquartered in Austin, Texas
  • 4. Team Members Troy Washburn James Lucas Xiaolin Liu Junhong Liu Tyson Malik Samprita Hedge Ashay Chitnis Nitin Ayyagari Juan Mesa Artem Kobrin Ali Hussain
  • 5. Outline Evolution of DevOps at RAC The e-commerce platform ○Business case ○Architecture ○Challenges and Lessons Learned The outcomes
  • 6. DevOps Timeline 2015 2015 2016 2016 Q4Q1 Q4 Q1 DevOps Organization at RAC VAN Project on AWS Infrastructure as Code/ELK Stack eCommerce project launch eCommerce Go-Live Serverless Computing Oracle RDS Migration
  • 7. Business Case for VAN Project • Secure B2B portal for our Acceptance Now business unit which enables our partners to help grow their business by increasing sales and expanding their customer base. • PII data and PCI compliance requirements
  • 8. First Success Security: No last-minute surprises before go-live; Least Privilege; RDS patching, Centralized Logging, Threat protection, Encryption at-rest and in-motion. Availability: HA with multi-AZ solution; Auto-Scaling Innovation: Infrastructure as Code, Agility and Flexibility, Ansible playbooks as build docs
  • 9. Evolution: E-commerce Platform Digital transformation: Give our customers the ability to rent online Unified view of customer Self-service account management SAP Hybris selected as the eCommerce platform
  • 10. Goals Setup an SAP Hybris ecommerce platform to scale to 2 million users a month Ability to support Black Friday traffic Secure for PCI Compliance Stateless infrastructure - HA across all components including DR Create an agile developer workflow for rapid execution No downtime deployment Performance Scalability Security High Availability Agility CI/CD
  • 11. Outline Evolution of DevOps at RAC The e-commerce platform ○Architecture ○Challenges and Lessons Learned The outcomes
  • 12. Process Phase 2: Attune Phase 3: Knowledge Transfer Phase 1: Assess Run the 2-week sprints Transfer the knowledge at the end of each sprint Understand the requirements and the current state, architect the desired state, and create a punch list
  • 14. Private subnetPublic subnet Storefront Admin Aurora CloudWatch CloudFormation CloudTrail KMS SES Route53 S3 bucket (static assets) NAT Gateway WAF CloudFront Lambda Codecommit ACM Cert Manager Direct Connect Each subnet represents a pair in two AZs. All components configured to span two AZs.
  • 15. Details of ECS Clusters Storefront Admin Admin
  • 17. CF Infrastructure Provisioning DevOps SCM Jenkins EC2 ECS Lambda Other AWS Services CloudFormation Templates Trigger Create/Update Stack
  • 18. Deploying Aurora DB with Hybris Performance Scaling Low management overhead Use of AWS Aurora DB instead of Oracle or MySQL Hybris supports MySQL, Aurora worked out of the box Why? What? How?
  • 19. Using AWS WAF (OWASP Top 10) PCI-ready AWS WAF used to filter traffic per rules -CloudFront logs written to S3 -S3 triggered Lambda -Offending IPs were blocked Why? How? To S3 and ELB Trigger Lambda Configure rules
  • 20. ECS Auto-scaling Servicing seasonal traffic patterns at high performance and low cost ECS auto-scaling to scale individual services Lambda function to auto-scale underlying ECS nodes: -Read stats from ECS -Decide when to scale up/down -Trigger the operation Why? How?
  • 21. ECS Autoscaling (Cont’d) Read current state of ECS and ASG Trigger Lambda every 5 mins let 0 … n be the running ECS services let dck be the desired number of containers of service k Let desiredCnt be the current desired number of instance in ASG Let minCnt be the minimum number of instances needed in ASG Let maxCnt be the maximum number of instances allowed in ASG max ← MAX(dc0, .., dcn) instanceCnt ← max + extraCapacity If instanceCnt ≠ desiredCnt AND instanceCnt <= maxCnt AND instanceCnt >= minCnt: Update ASG desiredCnt to instanceCnt Update Auto-Scaling Groups with new desired instancesOur blog: https://aws.amazon.com/blogs/compute/amazon- ecs-service-auto-scaling-enables-rent-a-center-sap-hybris- solution/
  • 22. Hybris Node Discovery - Hybris nodes needs to be aware of each other - Standard method (multi-cast) doesn’t work in VPCs - Solution: Each Hybris process registers its IP:Port to the DB But, how does the process know its IP? What?
  • 23. Hybris Node Discovery (Cont’d) Problem: Hybris can get the IP of the container it’s running in but container IP is irrelevant. Need host IP. Interim Solution: Wrote a startup script to get host IP using EC2 metadata and passed on the IP to Hybris as a config Better solution: Network Overlay (feature request to ECS team)
  • 24. Outline Evolution of DevOps at RAC The e-commerce platform ○Architecture ○Challenges and Lessons Learned The outcomes
  • 25. Outcomes Business: Growth-driver, 360 degree customer view Security: PCI Compliant ready, immutable infrastructure Availability: HA with multi-AZ solution; Auto-Scaling Innovation: Infrastructure as Code Agile and Flexible infrastructure Automated delivery of infrastructure, code, containers, and security rules
  • 26. PCI Compliance What? How? The infrastructure is expected to undergo a PCI audit Several Best Practices Applied: Separate AWS accounts for Prod SSO for AWS Console IAM Roles for AWS Credentials AWS account activity logged using CloudTrail No VMs in DMZ (aka. Public subnets) Multi-VPC, DirectConnect to on-premise Immutable Docker containers with no human logins DB credentials remain encrypted in S3 using KMS and injected into app container via env on demand All data encrypted at rest using EBS encryption Encrypt web traffic using SSL from AWS Cert Mngr. AWS WAF to block suspicious web traffic Ansible/Docker to automate patch management
  • 27. Summary AWS evolution from EC2 instances, ECS Docker containers to Serverless architecture DevOps journey: X-As-a-Service, Infrastructure as Code, Micro- Services, CI/CD DevOps business drivers: lower TCO, faster release cycles Digital transformation has enabled business to be more agile: speed to market, greater stability and increased reliability