OpsWorks Configuration Management: automatizza la gestione e i deployment delle istanze EC2

Amazon Web Services
Amazon Web ServicesAmazon Web Services
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS OpsWorks
Alessio Ludovici, AWS Solutions Architect
Fully-managed Configuration Management
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
• Introduction to Configuration Management
• AWS OpsWorks Configuration Management (AWS OpsWorks CM)
• Chef Architecture
• Demo!
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Industry Trends
Organizations are looking to integrate DevOps processes to:
a) Reduce their operational costs
b) Deliver applications and infrastructure updates quickly, securely and efficiently
• Quick Application delivery
• Build pipelines faster
• Efficient configuration
management
• Minimize server drift
• Deploy Applications
Reliably and securely
• Compliance automation—
‘Compliance-as-Code’
• Meet compliance regulations
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DevOps Customer Pain Points
Manual process—weeks to set up
new systems
Legacy systems and tools—
inflexible and obsolete hardware
Organizational silos—unwieldy
divisions of responsibility
Infrequent, large releases—fear of
deployment due to risk of SLAs
Regulatory burdens—compliance
bottlenecks occur at the end of a project
Absence of visibility into infrastructure
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
a system maintains its integrity over
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://git-scm.com/
https://subversion.apache.org/
>> Source of Truth <<
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introducing AWS OpsWorks
A common language for defining your
infrastructure and applications, making it
easy to move workloads to the cloud.
Provides a single management platform for
managing heterogeneous infrastructure
on-premises or in the cloud.
Enforces security policies, automatically remediates
unwanted changes, and helps you prove compliance.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Flavors of AWS OpsWorks
AWS OpsWorks for Chef
Automate
AWS OpsWorks for Puppet
Enterprise
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS OpsWorks Configuration Management (CM)
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How does Chef work?
Simple client—server architecture
Connecting resources to a Chef server
as nodes
Nodes pull configuration updates from the
Chef server every X minutes
Servers managed by Chef Infra are
continuously evaluated against their desired
state
Config A Config B
Chef
Server
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Chef recipe example—configure Apache
httpd_service ‘default' do
listen_ports ['81', '82']
threadlimit '4096'
action [:create, :start]
end
httpd_config ‘default' do
instance ‘default'
source ‘mysite.conf.erb'
notifies :restart, 'httpd_service[default]'
end
.....
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Chef recipe example—configure Apache
directory '/var/www/default/public_html' do
recursive true
end
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
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inspec: Get visibility into the state of your nodes
Chef Visibility—a view into convergence, compliance, cookbooks, recipes
and more
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NAT GW NAT GW
EC2
IGW
AWS
Region
AZ-1 AZ-2
VPC
Public Subnet Public Subnet
Private Subnet Private Subnet
ELB
OpsWorks
Cloud9
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS OpsWorks Chef Starter Kit
site-cookbooks/
.chef/
• .chef/
• .chef/ca_certs/
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Training & Certification
https://www.aws.training: Free on-demand courses to help you build new cloud skills
Video: Introduction to AWS OpsWorks for Chef Automate
https://www.aws.training/Details/Video?id=16369
Video: Introduction to AWS OpsWorks Stacks
https://www.aws.training/Details/Video?id=16367
For more info on AWS T&C visit: https://aws.amazon.com/it/training/
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Europe (Milan) Region
On April, 28th AWS expanded its global footprint with the opening of the AWS Infrastructure Region in Italy. The new
Region AWS Europe (Milano) brings advanced cloud technologies that enable opportunities for innovation,
entrepreneurship, and digital transformation. For additional information about services and characteristics of an AWS
Region, you can check the website: aws.amazon.com/local/italy/milan/
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thanks!
Alessio Ludovici, AWS Solutions Architect
alexludo@amazon.com
Per rimanere aggiornati sui prossimi eventi e webinar AWS,
potere visitare la nostra pagina
https://aws.amazon.com/it/events/
1 sur 23

Contenu connexe

Tendances(20)

VMware Cloud on AWS - AWS Learning SeriesVMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning Series
Amazon Web Services2.6K vues
SAP Modernization with AWSSAP Modernization with AWS
SAP Modernization with AWS
Amazon Web Services3.1K vues
AWS business essentials AWS business essentials
AWS business essentials
Amazon Web Services5.9K vues

Similaire à OpsWorks Configuration Management: automatizza la gestione e i deployment delle istanze EC2 (20)

AWS Control TowerAWS Control Tower
AWS Control Tower
CloudHesive649 vues
CI/CD using AWS developer toolsCI/CD using AWS developer tools
CI/CD using AWS developer tools
AWS User Group Bengaluru506 vues
CICDforModernApplications_Stockholm.pdfCICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdf
Amazon Web Services368 vues

Plus de Amazon Web Services(19)

Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services7K vues
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services3.1K vues
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services2.4K vues
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services1.4K vues
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services1.4K vues
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
Amazon Web Services887 vues

OpsWorks Configuration Management: automatizza la gestione e i deployment delle istanze EC2

  • 1. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS OpsWorks Alessio Ludovici, AWS Solutions Architect Fully-managed Configuration Management
  • 2. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda • Introduction to Configuration Management • AWS OpsWorks Configuration Management (AWS OpsWorks CM) • Chef Architecture • Demo!
  • 3. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Industry Trends Organizations are looking to integrate DevOps processes to: a) Reduce their operational costs b) Deliver applications and infrastructure updates quickly, securely and efficiently • Quick Application delivery • Build pipelines faster • Efficient configuration management • Minimize server drift • Deploy Applications Reliably and securely • Compliance automation— ‘Compliance-as-Code’ • Meet compliance regulations
  • 4. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DevOps Customer Pain Points Manual process—weeks to set up new systems Legacy systems and tools— inflexible and obsolete hardware Organizational silos—unwieldy divisions of responsibility Infrequent, large releases—fear of deployment due to risk of SLAs Regulatory burdens—compliance bottlenecks occur at the end of a project Absence of visibility into infrastructure
  • 5. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 6. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. a system maintains its integrity over
  • 7. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. https://git-scm.com/ https://subversion.apache.org/ >> Source of Truth <<
  • 8. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 9. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Introducing AWS OpsWorks A common language for defining your infrastructure and applications, making it easy to move workloads to the cloud. Provides a single management platform for managing heterogeneous infrastructure on-premises or in the cloud. Enforces security policies, automatically remediates unwanted changes, and helps you prove compliance.
  • 10. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Flavors of AWS OpsWorks AWS OpsWorks for Chef Automate AWS OpsWorks for Puppet Enterprise
  • 11. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS OpsWorks Configuration Management (CM)
  • 12. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 13. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 14. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 15. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How does Chef work? Simple client—server architecture Connecting resources to a Chef server as nodes Nodes pull configuration updates from the Chef server every X minutes Servers managed by Chef Infra are continuously evaluated against their desired state Config A Config B Chef Server
  • 16. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Chef recipe example—configure Apache httpd_service ‘default' do listen_ports ['81', '82'] threadlimit '4096' action [:create, :start] end httpd_config ‘default' do instance ‘default' source ‘mysite.conf.erb' notifies :restart, 'httpd_service[default]' end .....
  • 17. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Chef recipe example—configure Apache directory '/var/www/default/public_html' do recursive true end 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
  • 18. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inspec: Get visibility into the state of your nodes Chef Visibility—a view into convergence, compliance, cookbooks, recipes and more
  • 19. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NAT GW NAT GW EC2 IGW AWS Region AZ-1 AZ-2 VPC Public Subnet Public Subnet Private Subnet Private Subnet ELB OpsWorks Cloud9
  • 20. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS OpsWorks Chef Starter Kit site-cookbooks/ .chef/ • .chef/ • .chef/ca_certs/
  • 21. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Training & Certification https://www.aws.training: Free on-demand courses to help you build new cloud skills Video: Introduction to AWS OpsWorks for Chef Automate https://www.aws.training/Details/Video?id=16369 Video: Introduction to AWS OpsWorks Stacks https://www.aws.training/Details/Video?id=16367 For more info on AWS T&C visit: https://aws.amazon.com/it/training/
  • 22. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Europe (Milan) Region On April, 28th AWS expanded its global footprint with the opening of the AWS Infrastructure Region in Italy. The new Region AWS Europe (Milano) brings advanced cloud technologies that enable opportunities for innovation, entrepreneurship, and digital transformation. For additional information about services and characteristics of an AWS Region, you can check the website: aws.amazon.com/local/italy/milan/
  • 23. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thanks! Alessio Ludovici, AWS Solutions Architect alexludo@amazon.com Per rimanere aggiornati sui prossimi eventi e webinar AWS, potere visitare la nostra pagina https://aws.amazon.com/it/events/