SlideShare a Scribd company logo
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Leo Zhadanovsky
Principal Solutions Architect
Amazon Web Services
September 18, 2017
Configuration Management in the
Cloud
Automation without undifferentiated heavy lifting
DevOps – culture and process
Kaizen
Improvement
Activities that continuously improve all
functions and involve all employees.
By improving standardized activities and
processes, we aim to eliminate waste.
Traditional on-premises configuration management
• Long-lived VMs or physical
hosts
• Static DNS
• Heavyweight configuration
management on a static
server
• Challenges distributing
keys/secrets
Traditional on-premises configuration management
• Configuration management
libraries are complex and
take on a life of their own
• Require specialist
developers
• Require unit tests and
continuous integration—
just like your app code
• Adds thousands of LOC of
complexity just to manage
machines
Undifferentiated heavy lifting moves up the stack
• Undifferentiated heavy
lifting: necessary but
repetitive work to support
your application
• Originally: Data centers,
power, network, storage
• Now: Complex configuration
management, monitoring,
logging
Cloud is different: Auto Scaling
• Auto Scaling allows you to
meet your workload with
fewer hosts during low
periods
• Hosts are shorter-lived
• Long convergence times
typical of traditional CM
no longer acceptable
• Patching and long-term
maintenance simplified
by replacing base image
Deployment and Management Services
AWS
CloudFormation
AWS
CodeDeploy
AWS
OpsWorks
AWS
Elastic Beanstalk
Deployment and Management Services
CloudFormation
OpsWorks
CodeDeploy
Elastic Beanstalk
AWS CloudFormation
• Declare all components of
your application in a JSON
template
• Treat as your architecture’s
“concrete”
• Virtual Private Cloud
• Subnets
• Security Groups
• Auto Scaling Groups
• Load Balancers
AWS CloudFormation
• Modify your resources in
the template and resubmit
to change your
infrastructure
• Keeps security groups,
etc. safely managed in
config files
AWS CloudFormation
• Package and share your
entire infrastructure as a
single file
• Replicate your environment
across multiple Regions
• Share your application’s
complete environment with
others
Application
“Resources” : {
“ELB”,
“AutoScaling”,
“RDS”
},
"Mappings": {
“AMIWebApp": {
“us-east-1": { "64": "ami-x" },
"us-west-1": { "64": "ami-y" },
"us-west-2": { "64": "ami-z" }
}
}
cfn-init
• Agent running on an EC2
instance, typically invoked on
boot as part of template
creation
• Reads instance metadata
stored in the template
• Installs files, runs scripts,
creates users, starts services
AWS CloudFormation helpers
cfn-hup
• Runs on an EC2 instance as a
service
• Checks for updates to the
CloudFormation template and
can run any shell script
• Typically used to call cfn-init to
update configuration files or
other settings
Use AWS::CloudFormation::Init
"install_application" : {
"commands" : {
"01_get_chef" : {}, ...,
"02_configure_node_run_list" : {
"command" : “chef-client –r ‘recipe[application]’",
"cwd" : "/var/chef/chef-repo",
"env" : { "HOME" : "/var/chef" }
}
}
}
AWS CodeDeploy
• Use CodeDeploy to deploy
applications to Linux or
Windows instances
• Similar semantics as
package management tools
• Write scripts for lifecycle
hooks:
• ApplicationStop
• BeforeInstall
• AfterInstall
• ApplicationStart
• ValidateService
AWS CodeDeploy
• Use deployment strategies
to implement rolling
deployments
• Safely deploy new versions
of your code
• Safely roll back by
deploying previous versions
• Decouple your
infrastructure from
deployment automation
Amazon Elastic Beanstalk
Fast & simple
to begin
Developer
productivity
Impossible
to outgrow
Complete
resource control
• Capacity provisioning,
load balancing, auto
scaling, and health
monitoring is handled for
you
• PHP, Python, Java, Ruby,
Node.js, .NET, Go, Docker
Amazon Elastic Beanstalk
Amazon
CloudWatch
AWS
CodePipeline
AWS Toolkit for Eclipse
AWS CLI
AWS Toolkit for Visual
Studio
Amazon
ElastiCache
Amazon RDS
Auto Scaling Group
EC2 Instance EC2 Instance EC2 Instance
Region
Elastic Load
Balancing
AWS OpsWorks
Dynamic configuration and orchestration
Automatic instance scaling and auto
healing
Build each new instance to your
specification
Change instance configuration
in response to system events
AWS OpsWorks
What is Chef Automate?
• Refer to your infrastructure as code (cookbooks & recipes)
• Consistently install, configure, manage, deploy and scale
applications
• Align resources with specific policies
• Save time by automating manual tasks
How does it work?
• Simple client-server
architecture
• Connecting resources to a
Chef server
• Resources pull
configuration updates from
the Chef server Config A Config B
How can you set this up?
1. Setup the Chef server with cookbooks, recipes roles.
2. Install the Chef client on the instance (or server).
3. Register the instance with the Chef server as a Chef node.
4. Assign node with a role (e.g. web server, app server, db server).
5. The Chef client asks the Chef server for a set of recipes (instructions).
6. The Chef server determines the applicable recipes (by role).
7. The Chef client applies the recipes on the node by doing a “Chef run”.
8. The Chef client pulls the Chef server every 30 minutes.
How does it look like?
• The Chef client pulls
configuration updates from the
Chef server every 30 minutes.
• The Chef client will only make
configuration changes when
the node is out of spec.
• The Chef client can react to
changes using by using Chef
search.
Chef recipe example – configure Apache
# Install Apache and start the service.
httpd_service ‘default' do
listen_ports ['81', '82']
threadlimit '4096'
action [:create, :start]
end
# Add the site configuration.
httpd_config ‘default' do
instance ‘default'
source ‘mysite.conf.erb'
notifies :restart, 'httpd_service[default]'
end
.....
Chef recipe example – configure Apache
# Create the document root directory.
directory '/var/www/default/public_html' do
recursive true
end
# Write the home page.
file '/var/www/default/public_html/index.html' do
content '<html>This is a placeholder</html>'
mode '0644'
owner 'web_admin'
group 'web_admin'
end
.....
Chef recipe example – configure PHP
# Install the mod_php5 Apache module.
httpd_module 'php5' do
instance ‘default'
end
# Install php5-mysql.
package 'php5-mysql' do
action :install
notifies :restart, 'httpd_service[default]'
end
Get visibility into the state of your nodes
Visibility – A view into convergence, compliance, cookbooks, recipes and more.
Not only a Configuration Management tool
Workflow – A continuous delivery pipeline of infrastructure and applications.
Not only a Configuration Management tool
Compliance - Discovery and analysis of compliance risks across environments
AWS OpsWorks
for Chef Automate
What is AWS OpsWorks for Chef Automate?
The place you go to for configuration management on AWS
Offers a fully managed Chef Automate server
OpsWorks
How can I create an AWS managed Chef server?
Easy to get started, get a Chef Automate server in 10 minutes.
What else can I set up?
Setup a weekly maintenance window
• Automatic security updates
• Automatic Chef version upgrades
What else can I set up?
Setup a daily/weekly backup schedule
What else is left for me to do?
Nothing, this is a fully managed configuration management
service:
• Automatic backups
• Automatic security updates
• Automatic Chef software updates
You can focus on writing cookbooks and recipes that meet
your needs.
What other benefits do I get from the service?
• Automatic instance to Chef server registration
• Secure and easy scaling using Auto Scaling Groups
• No separate license fees, only pay for what you use
• Best practices, AWS support and guidance
Where does it come in the tool chain?
• Bootstrap instances with the right configuration
• Update the configuration of running instances
• Assure instances comply with a pre-defined policy
Can be a part of your Continues Integration and Continues
Delivery pipeline
Amazon EC2 Systems Manager
Thin automation bootstrap layer
• Auto-domain join when launching Windows instances
• Supports joining in AWS Directory Service through Simple AD and AD
Connector
• Installation of PowerShell modules
• Installation of MSI packages
• Configure CloudWatch metrics and logs
Complementary to PowerShell DSC/Chef, etc.
• Use Systems Manager to bootstrap
• Optionally, hand over to other tools for more in-depth
configuration
Parameter Store
• Encrypt sensitive information using your own KMS keys
• Reference your parameters in Run Command, State Manager,
or Automation service
• Use with IAM to manage access in a granular fashion
• Eliminate ongoing maintenance challenge of critical enterprise
assets
Centralized management of IT assets such as passwords
and connection strings
Infrastructure as code
• The ability to completely
specify an environment is a
key advantage of cloud
• No extra environment
setup required
• Allows operations resources
to scale by sharing
complete environments
DevOps & Security
• Traditional security work is
hard to scale
• Instead, provide reusable
security deliverables by
creating common template
components and machine
images
• Codify and enforce
compliance requirements as
custom AWS Config Rules
• Amazon Inspector
Toward a toolbox approach
• Use CloudFormation and
other tools to create
reusable components that
application teams can
leverage
• Work on code, not
servers—even virtual ones
• Leverage lighter-weight and
managed tools to eliminate
complexity
Organize by layers & environments
Layers of stacks
Environments
Frontend
Services
• Consumer Website, Seller Website,
Mobile Backend
Backend
Services
• Search, Payments, Reviews,
Recommendations
Shared
Services
• CRM DBs, Common Monitoring
/Alarms, Subnets, Security Groups
Base
Network
• VPCs, Internet Gateways, VPNs,
NATs
Identity • IAM Users, Groups, Roles
Apply service-oriented architecture
Food Catalog
website
Ordering website
Customer DB
service
Inventory service
Recommendations
service
Analytics service
Fulfillment
service
Payment
service
Nested stacks for reusability & specialization
Application1
“Resources” : {
“ELB”,
“AutoScaling”,
“RDS”
}
Application2
“Resources” : {
“ELB”,
“AutoScaling”
}
ELB_AND_AS
“Resources” : {
“ELB”,
“AutoScaling”,
“Networking”
}
Application1
“Resources” : {
“NestedStack”,
“Networking”
}
Application2
“Resources” : {
“NestedStack”,
“DynamoDB”
}
Next Steps
• Amazon Inspector
• AWS Lambda
• AWS WAF
Thank you

More Related Content

What's hot

Deep Dive on Amazon EC2 Systems Manager
Deep Dive on Amazon EC2 Systems ManagerDeep Dive on Amazon EC2 Systems Manager
Deep Dive on Amazon EC2 Systems Manager
Amazon Web Services
 
AWS Security and SecOps
AWS Security and SecOpsAWS Security and SecOps
AWS Security and SecOps
Shiva Narayanaswamy
 
Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기
Amazon Web Services Korea
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
Amazon Web Services
 
Building Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWSBuilding Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWS
Amazon Web Services
 
엔터프라이즈 기술 지원을 통한 효율적인 클라우드 운영 사례 - AWS Summit Seoul 2017
엔터프라이즈 기술 지원을 통한 효율적인 클라우드 운영 사례 - AWS Summit Seoul 2017엔터프라이즈 기술 지원을 통한 효율적인 클라우드 운영 사례 - AWS Summit Seoul 2017
엔터프라이즈 기술 지원을 통한 효율적인 클라우드 운영 사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
AWS KMS 에서 제공하는 봉투암호화 방식의 암호화 및 사이닝 기능에 대한 소개와 실습 - 신은수, AWS 솔루션즈 아키텍트 :: AWS...
AWS KMS 에서 제공하는 봉투암호화 방식의 암호화 및 사이닝 기능에 대한 소개와 실습 - 신은수, AWS 솔루션즈 아키텍트 :: AWS...AWS KMS 에서 제공하는 봉투암호화 방식의 암호화 및 사이닝 기능에 대한 소개와 실습 - 신은수, AWS 솔루션즈 아키텍트 :: AWS...
AWS KMS 에서 제공하는 봉투암호화 방식의 암호화 및 사이닝 기능에 대한 소개와 실습 - 신은수, AWS 솔루션즈 아키텍트 :: AWS...
Amazon Web Services Korea
 
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
Amazon Web Services Korea
 
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018Amazon Web Services Korea
 
AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...
AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...
AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...Amazon Web Services Korea
 
AWS Route53 Fundamentals
AWS Route53 FundamentalsAWS Route53 Fundamentals
AWS Route53 Fundamentals
Piyush Agrawal
 
AWS CloudFormation: Infrastructure as Code | AWS Public Sector Summit 2016
AWS CloudFormation: Infrastructure as Code | AWS Public Sector Summit 2016AWS CloudFormation: Infrastructure as Code | AWS Public Sector Summit 2016
AWS CloudFormation: Infrastructure as Code | AWS Public Sector Summit 2016
Amazon Web Services
 
AWS Certificate Management and Private Certificate Authority Deep Dive (SEC41...
AWS Certificate Management and Private Certificate Authority Deep Dive (SEC41...AWS Certificate Management and Private Certificate Authority Deep Dive (SEC41...
AWS Certificate Management and Private Certificate Authority Deep Dive (SEC41...
Amazon Web Services
 
Gateway/APIC security
Gateway/APIC securityGateway/APIC security
Gateway/APIC security
Shiu-Fun Poon
 
(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling
Amazon Web Services
 
AWS Cloud Adoption Framework
AWS Cloud Adoption Framework AWS Cloud Adoption Framework
AWS Cloud Adoption Framework
Amazon Web Services
 
Amazon Relational Database Service (Amazon RDS)
Amazon Relational Database Service (Amazon RDS)Amazon Relational Database Service (Amazon RDS)
Amazon Relational Database Service (Amazon RDS)
Amazon Web Services
 
Aws route 53
Aws route 53Aws route 53
What's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesWhat's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial Databases
Amazon Web Services
 
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Amazon Web Services
 

What's hot (20)

Deep Dive on Amazon EC2 Systems Manager
Deep Dive on Amazon EC2 Systems ManagerDeep Dive on Amazon EC2 Systems Manager
Deep Dive on Amazon EC2 Systems Manager
 
AWS Security and SecOps
AWS Security and SecOpsAWS Security and SecOps
AWS Security and SecOps
 
Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Building Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWSBuilding Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWS
 
엔터프라이즈 기술 지원을 통한 효율적인 클라우드 운영 사례 - AWS Summit Seoul 2017
엔터프라이즈 기술 지원을 통한 효율적인 클라우드 운영 사례 - AWS Summit Seoul 2017엔터프라이즈 기술 지원을 통한 효율적인 클라우드 운영 사례 - AWS Summit Seoul 2017
엔터프라이즈 기술 지원을 통한 효율적인 클라우드 운영 사례 - AWS Summit Seoul 2017
 
AWS KMS 에서 제공하는 봉투암호화 방식의 암호화 및 사이닝 기능에 대한 소개와 실습 - 신은수, AWS 솔루션즈 아키텍트 :: AWS...
AWS KMS 에서 제공하는 봉투암호화 방식의 암호화 및 사이닝 기능에 대한 소개와 실습 - 신은수, AWS 솔루션즈 아키텍트 :: AWS...AWS KMS 에서 제공하는 봉투암호화 방식의 암호화 및 사이닝 기능에 대한 소개와 실습 - 신은수, AWS 솔루션즈 아키텍트 :: AWS...
AWS KMS 에서 제공하는 봉투암호화 방식의 암호화 및 사이닝 기능에 대한 소개와 실습 - 신은수, AWS 솔루션즈 아키텍트 :: AWS...
 
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
 
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
 
AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...
AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...
AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...
 
AWS Route53 Fundamentals
AWS Route53 FundamentalsAWS Route53 Fundamentals
AWS Route53 Fundamentals
 
AWS CloudFormation: Infrastructure as Code | AWS Public Sector Summit 2016
AWS CloudFormation: Infrastructure as Code | AWS Public Sector Summit 2016AWS CloudFormation: Infrastructure as Code | AWS Public Sector Summit 2016
AWS CloudFormation: Infrastructure as Code | AWS Public Sector Summit 2016
 
AWS Certificate Management and Private Certificate Authority Deep Dive (SEC41...
AWS Certificate Management and Private Certificate Authority Deep Dive (SEC41...AWS Certificate Management and Private Certificate Authority Deep Dive (SEC41...
AWS Certificate Management and Private Certificate Authority Deep Dive (SEC41...
 
Gateway/APIC security
Gateway/APIC securityGateway/APIC security
Gateway/APIC security
 
(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling
 
AWS Cloud Adoption Framework
AWS Cloud Adoption Framework AWS Cloud Adoption Framework
AWS Cloud Adoption Framework
 
Amazon Relational Database Service (Amazon RDS)
Amazon Relational Database Service (Amazon RDS)Amazon Relational Database Service (Amazon RDS)
Amazon Relational Database Service (Amazon RDS)
 
Aws route 53
Aws route 53Aws route 53
Aws route 53
 
What's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesWhat's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial Databases
 
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
 

Similar to Configuration Management in the Cloud - AWS Online Tech Talks

Introduction to OpsWorks for Chef Automate
Introduction to OpsWorks for Chef AutomateIntroduction to OpsWorks for Chef Automate
Introduction to OpsWorks for Chef Automate
Amazon Web Services
 
AWS re:Invent 2016: Configuration Management in the Cloud (DEV305)
AWS re:Invent 2016: Configuration Management in the Cloud (DEV305)AWS re:Invent 2016: Configuration Management in the Cloud (DEV305)
AWS re:Invent 2016: Configuration Management in the Cloud (DEV305)
Amazon Web Services
 
AWS OpsWorks for Chef Automate
AWS OpsWorks for Chef AutomateAWS OpsWorks for Chef Automate
AWS OpsWorks for Chef Automate
Amazon Web Services
 
Configuration Management with AWS OpsWorks for Chef Automate
Configuration Management with AWS OpsWorks for Chef AutomateConfiguration Management with AWS OpsWorks for Chef Automate
Configuration Management with AWS OpsWorks for Chef Automate
Amazon Web Services
 
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech TalksAnnouncing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
Amazon Web Services
 
Cloud-Native DevOps: Simplifying application lifecycle management with AWS | ...
Cloud-Native DevOps: Simplifying application lifecycle management with AWS | ...Cloud-Native DevOps: Simplifying application lifecycle management with AWS | ...
Cloud-Native DevOps: Simplifying application lifecycle management with AWS | ...
Amazon Web Services
 
Configuration Management in the Cloud | AWS Public Sector Summit 2017
Configuration Management in the Cloud | AWS Public Sector Summit 2017Configuration Management in the Cloud | AWS Public Sector Summit 2017
Configuration Management in the Cloud | AWS Public Sector Summit 2017
Amazon Web Services
 
ENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems ManagerENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems Manager
Amazon Web Services
 
Way to cloud
Way to cloudWay to cloud
Way to cloud
Andrew Yongjoon Kong
 
Managing Your Cloud Assets
Managing Your Cloud AssetsManaging Your Cloud Assets
Managing Your Cloud Assets
Amazon Web Services
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the Cloud
Andrew Coleman
 
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Emerson Eduardo Rodrigues Von Staffen
 
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
Amazon Web Services
 
Secure Management of Fleet at Scale
Secure Management of Fleet at ScaleSecure Management of Fleet at Scale
Secure Management of Fleet at Scale
Amazon Web Services
 
Introducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platformIntroducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platform
Amazon Web Services
 
ENT302 Deep Dive on AWS Management Tools
ENT302 Deep Dive on AWS Management Tools ENT302 Deep Dive on AWS Management Tools
ENT302 Deep Dive on AWS Management Tools
Amazon Web Services
 
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSCWinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf
 
Chef for Openstack
Chef for OpenstackChef for Openstack
Chef for OpenstackMohit Sethi
 
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
Amazon Web Services
 

Similar to Configuration Management in the Cloud - AWS Online Tech Talks (20)

Introduction to OpsWorks for Chef Automate
Introduction to OpsWorks for Chef AutomateIntroduction to OpsWorks for Chef Automate
Introduction to OpsWorks for Chef Automate
 
AWS re:Invent 2016: Configuration Management in the Cloud (DEV305)
AWS re:Invent 2016: Configuration Management in the Cloud (DEV305)AWS re:Invent 2016: Configuration Management in the Cloud (DEV305)
AWS re:Invent 2016: Configuration Management in the Cloud (DEV305)
 
AWS OpsWorks for Chef Automate
AWS OpsWorks for Chef AutomateAWS OpsWorks for Chef Automate
AWS OpsWorks for Chef Automate
 
Configuration Management with AWS OpsWorks for Chef Automate
Configuration Management with AWS OpsWorks for Chef AutomateConfiguration Management with AWS OpsWorks for Chef Automate
Configuration Management with AWS OpsWorks for Chef Automate
 
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech TalksAnnouncing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
 
Cloud-Native DevOps: Simplifying application lifecycle management with AWS | ...
Cloud-Native DevOps: Simplifying application lifecycle management with AWS | ...Cloud-Native DevOps: Simplifying application lifecycle management with AWS | ...
Cloud-Native DevOps: Simplifying application lifecycle management with AWS | ...
 
Configuration Management in the Cloud | AWS Public Sector Summit 2017
Configuration Management in the Cloud | AWS Public Sector Summit 2017Configuration Management in the Cloud | AWS Public Sector Summit 2017
Configuration Management in the Cloud | AWS Public Sector Summit 2017
 
ENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems ManagerENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems Manager
 
Way to cloud
Way to cloudWay to cloud
Way to cloud
 
Managing Your Cloud Assets
Managing Your Cloud AssetsManaging Your Cloud Assets
Managing Your Cloud Assets
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the Cloud
 
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
 
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
 
Secure Management of Fleet at Scale
Secure Management of Fleet at ScaleSecure Management of Fleet at Scale
Secure Management of Fleet at Scale
 
Introducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platformIntroducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platform
 
ENT302 Deep Dive on AWS Management Tools
ENT302 Deep Dive on AWS Management Tools ENT302 Deep Dive on AWS Management Tools
ENT302 Deep Dive on AWS Management Tools
 
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSCWinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
 
Chef for openstack
Chef for openstackChef for openstack
Chef for openstack
 
Chef for Openstack
Chef for OpenstackChef for Openstack
Chef for Openstack
 
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
 

More from Amazon Web Services

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...
Amazon Web Services
 
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...
Amazon Web Services
 
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
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services
 
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
Amazon Web Services
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services
 
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...
Amazon Web Services
 
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...
Amazon Web Services
 
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
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services
 
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
Amazon Web Services
 
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
Amazon Web Services
 
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
Amazon Web Services
 
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
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 AWSAmazon 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 DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon 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
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services
 

More from 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
 

Configuration Management in the Cloud - AWS Online Tech Talks

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Leo Zhadanovsky Principal Solutions Architect Amazon Web Services September 18, 2017 Configuration Management in the Cloud Automation without undifferentiated heavy lifting
  • 2. DevOps – culture and process Kaizen Improvement Activities that continuously improve all functions and involve all employees. By improving standardized activities and processes, we aim to eliminate waste.
  • 3. Traditional on-premises configuration management • Long-lived VMs or physical hosts • Static DNS • Heavyweight configuration management on a static server • Challenges distributing keys/secrets
  • 4. Traditional on-premises configuration management • Configuration management libraries are complex and take on a life of their own • Require specialist developers • Require unit tests and continuous integration— just like your app code • Adds thousands of LOC of complexity just to manage machines
  • 5. Undifferentiated heavy lifting moves up the stack • Undifferentiated heavy lifting: necessary but repetitive work to support your application • Originally: Data centers, power, network, storage • Now: Complex configuration management, monitoring, logging
  • 6. Cloud is different: Auto Scaling • Auto Scaling allows you to meet your workload with fewer hosts during low periods • Hosts are shorter-lived • Long convergence times typical of traditional CM no longer acceptable • Patching and long-term maintenance simplified by replacing base image
  • 7. Deployment and Management Services AWS CloudFormation AWS CodeDeploy AWS OpsWorks AWS Elastic Beanstalk
  • 8. Deployment and Management Services CloudFormation OpsWorks CodeDeploy Elastic Beanstalk
  • 9. AWS CloudFormation • Declare all components of your application in a JSON template • Treat as your architecture’s “concrete” • Virtual Private Cloud • Subnets • Security Groups • Auto Scaling Groups • Load Balancers
  • 10. AWS CloudFormation • Modify your resources in the template and resubmit to change your infrastructure • Keeps security groups, etc. safely managed in config files
  • 11. AWS CloudFormation • Package and share your entire infrastructure as a single file • Replicate your environment across multiple Regions • Share your application’s complete environment with others Application “Resources” : { “ELB”, “AutoScaling”, “RDS” }, "Mappings": { “AMIWebApp": { “us-east-1": { "64": "ami-x" }, "us-west-1": { "64": "ami-y" }, "us-west-2": { "64": "ami-z" } } }
  • 12. cfn-init • Agent running on an EC2 instance, typically invoked on boot as part of template creation • Reads instance metadata stored in the template • Installs files, runs scripts, creates users, starts services AWS CloudFormation helpers cfn-hup • Runs on an EC2 instance as a service • Checks for updates to the CloudFormation template and can run any shell script • Typically used to call cfn-init to update configuration files or other settings
  • 13. Use AWS::CloudFormation::Init "install_application" : { "commands" : { "01_get_chef" : {}, ..., "02_configure_node_run_list" : { "command" : “chef-client –r ‘recipe[application]’", "cwd" : "/var/chef/chef-repo", "env" : { "HOME" : "/var/chef" } } } }
  • 14. AWS CodeDeploy • Use CodeDeploy to deploy applications to Linux or Windows instances • Similar semantics as package management tools • Write scripts for lifecycle hooks: • ApplicationStop • BeforeInstall • AfterInstall • ApplicationStart • ValidateService
  • 15. AWS CodeDeploy • Use deployment strategies to implement rolling deployments • Safely deploy new versions of your code • Safely roll back by deploying previous versions • Decouple your infrastructure from deployment automation
  • 16. Amazon Elastic Beanstalk Fast & simple to begin Developer productivity Impossible to outgrow Complete resource control
  • 17. • Capacity provisioning, load balancing, auto scaling, and health monitoring is handled for you • PHP, Python, Java, Ruby, Node.js, .NET, Go, Docker Amazon Elastic Beanstalk Amazon CloudWatch AWS CodePipeline AWS Toolkit for Eclipse AWS CLI AWS Toolkit for Visual Studio Amazon ElastiCache Amazon RDS Auto Scaling Group EC2 Instance EC2 Instance EC2 Instance Region Elastic Load Balancing
  • 18. AWS OpsWorks Dynamic configuration and orchestration Automatic instance scaling and auto healing Build each new instance to your specification Change instance configuration in response to system events
  • 20.
  • 21. What is Chef Automate? • Refer to your infrastructure as code (cookbooks & recipes) • Consistently install, configure, manage, deploy and scale applications • Align resources with specific policies • Save time by automating manual tasks
  • 22. How does it work? • Simple client-server architecture • Connecting resources to a Chef server • Resources pull configuration updates from the Chef server Config A Config B
  • 23. How can you set this up? 1. Setup the Chef server with cookbooks, recipes roles. 2. Install the Chef client on the instance (or server). 3. Register the instance with the Chef server as a Chef node. 4. Assign node with a role (e.g. web server, app server, db server). 5. The Chef client asks the Chef server for a set of recipes (instructions). 6. The Chef server determines the applicable recipes (by role). 7. The Chef client applies the recipes on the node by doing a “Chef run”. 8. The Chef client pulls the Chef server every 30 minutes.
  • 24. How does it look like? • The Chef client pulls configuration updates from the Chef server every 30 minutes. • The Chef client will only make configuration changes when the node is out of spec. • The Chef client can react to changes using by using Chef search.
  • 25. Chef recipe example – configure Apache # Install Apache and start the service. httpd_service ‘default' do listen_ports ['81', '82'] threadlimit '4096' action [:create, :start] end # Add the site configuration. httpd_config ‘default' do instance ‘default' source ‘mysite.conf.erb' notifies :restart, 'httpd_service[default]' end .....
  • 26. Chef recipe example – configure Apache # Create the document root directory. directory '/var/www/default/public_html' do recursive true end # Write the home page. file '/var/www/default/public_html/index.html' do content '<html>This is a placeholder</html>' mode '0644' owner 'web_admin' group 'web_admin' end .....
  • 27. Chef recipe example – configure PHP # Install the mod_php5 Apache module. httpd_module 'php5' do instance ‘default' end # Install php5-mysql. package 'php5-mysql' do action :install notifies :restart, 'httpd_service[default]' end
  • 28. Get visibility into the state of your nodes Visibility – A view into convergence, compliance, cookbooks, recipes and more.
  • 29. Not only a Configuration Management tool Workflow – A continuous delivery pipeline of infrastructure and applications.
  • 30. Not only a Configuration Management tool Compliance - Discovery and analysis of compliance risks across environments
  • 32. What is AWS OpsWorks for Chef Automate? The place you go to for configuration management on AWS Offers a fully managed Chef Automate server OpsWorks
  • 33. How can I create an AWS managed Chef server? Easy to get started, get a Chef Automate server in 10 minutes.
  • 34. What else can I set up? Setup a weekly maintenance window • Automatic security updates • Automatic Chef version upgrades
  • 35. What else can I set up? Setup a daily/weekly backup schedule
  • 36. What else is left for me to do? Nothing, this is a fully managed configuration management service: • Automatic backups • Automatic security updates • Automatic Chef software updates You can focus on writing cookbooks and recipes that meet your needs.
  • 37. What other benefits do I get from the service? • Automatic instance to Chef server registration • Secure and easy scaling using Auto Scaling Groups • No separate license fees, only pay for what you use • Best practices, AWS support and guidance
  • 38. Where does it come in the tool chain? • Bootstrap instances with the right configuration • Update the configuration of running instances • Assure instances comply with a pre-defined policy Can be a part of your Continues Integration and Continues Delivery pipeline
  • 39. Amazon EC2 Systems Manager Thin automation bootstrap layer • Auto-domain join when launching Windows instances • Supports joining in AWS Directory Service through Simple AD and AD Connector • Installation of PowerShell modules • Installation of MSI packages • Configure CloudWatch metrics and logs Complementary to PowerShell DSC/Chef, etc. • Use Systems Manager to bootstrap • Optionally, hand over to other tools for more in-depth configuration
  • 40. Parameter Store • Encrypt sensitive information using your own KMS keys • Reference your parameters in Run Command, State Manager, or Automation service • Use with IAM to manage access in a granular fashion • Eliminate ongoing maintenance challenge of critical enterprise assets Centralized management of IT assets such as passwords and connection strings
  • 41. Infrastructure as code • The ability to completely specify an environment is a key advantage of cloud • No extra environment setup required • Allows operations resources to scale by sharing complete environments
  • 42. DevOps & Security • Traditional security work is hard to scale • Instead, provide reusable security deliverables by creating common template components and machine images • Codify and enforce compliance requirements as custom AWS Config Rules • Amazon Inspector
  • 43. Toward a toolbox approach • Use CloudFormation and other tools to create reusable components that application teams can leverage • Work on code, not servers—even virtual ones • Leverage lighter-weight and managed tools to eliminate complexity
  • 44. Organize by layers & environments Layers of stacks Environments Frontend Services • Consumer Website, Seller Website, Mobile Backend Backend Services • Search, Payments, Reviews, Recommendations Shared Services • CRM DBs, Common Monitoring /Alarms, Subnets, Security Groups Base Network • VPCs, Internet Gateways, VPNs, NATs Identity • IAM Users, Groups, Roles
  • 45. Apply service-oriented architecture Food Catalog website Ordering website Customer DB service Inventory service Recommendations service Analytics service Fulfillment service Payment service
  • 46. Nested stacks for reusability & specialization Application1 “Resources” : { “ELB”, “AutoScaling”, “RDS” } Application2 “Resources” : { “ELB”, “AutoScaling” } ELB_AND_AS “Resources” : { “ELB”, “AutoScaling”, “Networking” } Application1 “Resources” : { “NestedStack”, “Networking” } Application2 “Resources” : { “NestedStack”, “DynamoDB” }
  • 47. Next Steps • Amazon Inspector • AWS Lambda • AWS WAF