SlideShare ist ein Scribd-Unternehmen logo
1 von 61
Downloaden Sie, um offline zu lesen
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Deep Dive on
AWS CloudFormation
Anil Kumar, Senior Product Manager
Luis Colon, Senior Developer Advocate
November 28, 2017
DEV317
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THEMES for this session
Developers:
Test and Validate
Developers:
Serverless Apps
System Admins:
Provisioning at scale
System Admins:
Safety Guardrails
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AGENDA
Learn how to…
• Protect stacks and monitor resources for changes
• Provision AWS resources across accounts and regions
• Improve deployment reliability with validation
• Options to create and deploy serverless apps
What to expect from this session
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CLOUDFORMATION AT A GLANCE
Code in YAML or
JSON directly or use
sample templates
Upload local
files or from
an S3 bucket
Create stack
using console,
API or CLI
Stacks and
resources are
provisioned
Enables provisioning and management of your infrastructure
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CLOUDFORMATION AT A GLANCE
Over 350,000 AWS customers use AWS CloudFormation.
Over 75% of the top 10,000 highest spend AWS customers use AWS
CloudFormation.
Over 2.4M AWS CloudFormation stacks are managed by AWS customers
on AWS CloudFormation.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AGENDA
Learn how to…
• Protect stacks and monitor resources for changes
• Provision AWS resources across accounts and regions
• Improve deployment reliability with validation
• Options to create and deploy serverless apps
What to expect from this session
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PROTECTING STACKS AND RESOURCES
1. Locking stacks
2. Stack-level
policies
3. Resource by
resource
4. Users and roles
Quickly supplement other controls
Implement restrictions on groups of resources
Add fine-grained controls for critical resources
Control who can use specific templates and resources
Implementing multiple layers of guardrails
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. STACK TERMINATION PROTECTION
ideal for critical stacks
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
{
"Statement" : [
{
"Effect" : "Deny",
"Action" : "Update:*",
"Principal": "*",
"Resource" : "*",
"Condition" : {
"StringEquals" : {
"ResourceType" : ["AWS::RDS::DBInstance"]
}
}
},
{
"Effect" : "Allow",
"Action" : "Update:*",
"Principal": "*",
"Resource" : "*"
}
]
}
2. STACK LEVEL POLICIES
Example: only prevent updates to
all RDS database instances
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
{
"AWSTemplateFormatVersion":"2010-09-09",
"Resources": {
"myVolume": {
"Type":"AWS::EC2::Volume",
"DeletionPolicy":"Snapshot",
"Properties": {
"AvailabilityZone":"us-east-1a",
"Size":"200"
}
}
}
}
3. RESOURCE LEVEL POLICIES
Example: deletion policy to
backup/snapshot an EC2 volume
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
{
"Effect":"Allow",
"Action":["cloudformation:CreateStack"]
},
{
"Effect":"Deny",
"Action":["cloudformation:CreateStack"]
“Condition”:{
‘ForAnyValue:StringLike”:{
“cloudformation:ResourceType”: [“AWS::IAM::*”]
}
}
}
4. USING IAM POLICIES
Example: deny CreateStack
operation for IAM resources
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AGENDA
Learn how to…
• Protect stacks and monitor resources for changes
• Provision AWS resources across accounts and regions
• Improve deployment reliability with validation
• Options to create and deploy serverless apps
What to expect from this session
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MONITORING STACKS AND RESOURCE CHANGES
1. Detecting configuration
drift
Tracking changes made outside of CloudFormation
to stack resources
Implementing multiple layers of guardrails
2. Dynamic monitoring Monitoring during the stack creation and update
3. Recording changes Assess, audit, and evaluate configurations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONFIGURATION DRIFT
Planned changes can
be properly tested…
…but not all changes
can be planned!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONFIGURATION DRIFT DEFINED
Any changes made outside of AWS CloudFormation to one or more resources
contained in a stack that modify the expected configuration values of resources
would cause drift in the stack.
The change can be any of the following:
o Modifying stack resource property values
o Modifying default values of stack resources
o Deleting stack resources
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONFIGURATION DRIFT DEFINED
Key Concepts
• Expected values: stated in CloudFormation templates & defaults
• Current values: live configuration values of resources provisioned
• Drift = difference between Expected and Current values
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONFIGURATION DRIFT: SIDE EFFECTS
Stack Operation
• Can cause the stack update operation to fail
• Move the stack to a state in which you cannot update or delete the stack
Audit and Compliance
• Divergence from your approved architecture
• Unaccounted changes, not reflected in you source code (templates)
Delays in infrastructure updates
Fragile change control; non-compliance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT DO WE NEED?
A feature that allows you to detect and view changes made
outside of CloudFormation to AWS resources managed by
CloudFormation.
Visibility
Detect & Compare
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – COMING SOON
Coming soon in 2018, Configuration drift detection
capability in AWS CloudFormation will be generally
available in all AWS commercial regions.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DEMO
A W S C L O U D F O R M A T I O N D R I F T D E T E C T I O N
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – CONSOLE WALKTHROUGH (1/8)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – CONSOLE (2/8)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – CONSOLE (3/8)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – CONSOLE (4/8)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – CONSOLE (5/8)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – CONSOLE (6/8)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – CONSOLE (7/8)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DRIFT DETECTION – CONSOLE (8/8)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. DYNAMIC MONITORING USING ROLLBACK TRIGGERS
Revert changes impacting performance
Integrate application- and stack resource-level alarms from
Amazon CloudWatch
Monitor these alarms while updating stacks
If alarms fire, AWS CloudFormation automatically rolls back
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. BUILD A ROLLBACK TRIGGER
batch-service-rollbacktrigger.json
{
"RollbackTriggers": [
{
"Arn": "arn:aws:cloudwatch:us-east-
2:xxxxxxxxxxxx:alarm:SQSQueueDepth",
"Type": "AWS::CloudWatch::Alarm"
}
],
"MonitoringTimeInMinutes": 10
}
2. DYNAMIC MONITORING USING ROLLBACK TRIGGERS
Revert changes impacting performance (An example (1/2))
2. UPDATE STACK USING THAT ROLLBACK
TRIGGER
aws cloudformation update-stack --region us-east-2 
--stack-name ImageProcService 
--template-body file://batch-service.yml 
--parameters file://batch-service-config.json 
--rollback-configuration file://batch-service-
rollbacktrigger.json
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. DYNAMIC MONITORING USING ROLLBACK TRIGGERS
Revert changes impacting performance (An example (2/2))
If in ALARM
state,
CloudFormation
automatically
rolls back
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. RECORD & MONITOR STACK CHANGES WITH AWS CONFIG
• Record configuration changes
to CloudFormation stacks
• Track current and historical
stack configuration
• Get notified via Amazon SNS
when changes occur
• Maintain audit compliance
and governance controls
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. RECORD & MONITOR STACK CHANGES WITH AWS CONFIG
See changes using AWS Config timeline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. RECORD & MONITOR STACK CHANGES WITH AWS CONFIG
Drill down further to see details
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. RECORD & MONITOR STACK CHANGES WITH AWS CONFIG
Pre-built AWS Config rule: cloudformation-stack-notification-check
• Verify whether stacks are sending SNS notifications
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
System Admins:
Safety Guardrails
Developers:
Test and Validate
Developers:
Serverless Apps
System Admins:
Provisioning at scale
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PROVISIONING AT SCALE
As enterprises grow, many leverage
multiple accounts and regions
• Create boundaries for critical
resources
• Some regions or accounts may need
to be restricted or isolated
• Reduce availability risks
• Spreading traffic geographically
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PROVISIONING AT SCALE
Customer Profile #1 #2 #3
• 2800+ accounts and
wants to grow to
10,000 accounts
• 180+ accounts • 19 accounts and
plans to have 40
accounts
• Deploy in nine AWS
Regions and wants to
be in 11 regions
• Deploy in selective
regions
• Multiple regions
• VPC, EC2, IAM,
Subnet, Security
Groups, and more
• VPC, IAM, CloudTrail,
AWS Config
• VPC, Security
Groups, IAM roles,
CloudTrail
Let’s look at few customer profiles
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PROVISIONING AT SCALE: CHALLENGES
• Multiple, manual operations can
be error-prone
• Home-grown, multi-account,
multi-region scripts add
maintenance
• Third party tooling adds cost
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
STACKSETS
Create and update stacks in multiple accounts and regions
using a single operation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CORE CONCEPTS
Region
1Account 1
Account 1
Account 1 Account 2 Account 3
Account 2 Account 3
Account 2 Account 3done from an
administrator
account with an
assumable IAM
role
the stackset is a
single global
template
Three target
accounts across
three regions which
delegate trust to
the administrator
account
Implements nine
stack instances
Region
2
Region
3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PROVISIONING AT SCALE WITH STACKSETS
Set up new accounts with defaults
• Enable CloudTrail for all regions; use admin’s S3 bucket
• Set up AWS Config rules to properly tag resources
• Set up AWS KMS keys
Deploy identical infrastructure for globally used apps
• Manage app stacks across multiple regions
• Use CFN to speed up new region setup
Business Continuity/Disaster Recovery
• Configure Amazon S3 bucket replication
• Provision Amazon RDS read replicas
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
STACKSET OPERATIONS
Operations
• Create StackSet
• Update StackSet
• Delete stack and StackSet
Options
• Maximum concurrent accounts
• Failure tolerance
• Retain stacks
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
STACKSETS: EARLY ADOPTER FEEDBACK
“[It] has simplified our continuous deployment initiative, allowing centralized management
of pipelines deploying solutions across multiple functional AWS accounts. [It] greatly
reduced project complexity while providing greater control”
- Kevin Price, Architect, GE Appliance
“[It] has been instrumental for us in our quest to deliver compliance, security, and audit
requirements for the entirety of our AWS estate”
- Joe Jarman, SRE, HIVE (Centrica, parent co. of British Gas)
“[It] presents the opportunity for significant time savings while increasing adherence to
golden configurations across multiple accounts.”
- Aater Suleman, CEO, Flux7
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DEMO
S T A C K S E T S
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
STACKSETS – Demo
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
System Admins:
Safety Guardrails
Developers:
Test and Validate
Developers:
Serverless Apps
System Admins:
Provisioning at scale
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
INFRASTRUCTURE AS IS CODE!
Template code should be in a repo
• Track issues and history
• Commits can trigger test suites and
builds
• Use tools and utilities for validation
• Hook into Jenkins, Ansible, Chef,
Puppet, …
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TESTING AND VALIDATING
Keep track of what you are validating
• Environments: stage vs production
• Validate app code vs generated code
separately
Automate validation often and log/alert
• Validate intermediate and end results
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VALIDATION PIPELINE
Run a set of customizable tests for logical and
functional integrity against templates
• Integrates with an existing AWS CodeCommit repo
• Provisions and configures necessary services
• AWS CodePipeline
• AWS CodeBuild
• AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
REFERENCE IMPLEMENTATION
Triggered by a commit on your repo
1. Run logical pre-create tests,
including syntax checks
2. Launch test stacks in multiple
regions
3. Runs functional post-create sets on
the test stacks
4. If tests are successful, an email is
sent to indicate template is ready
for approval
5. Final template is deployed to an S3
bucket, also storing CloudWatch
data for each Lambda function
6. Deploy stack directly from the S3
bucket
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
System Admins:
Safety Guardrails
Developers:
Test and Validate
Developers:
Serverless Apps
System Admins:
Provisioning at scale
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WORKING ACROSS APP ARCHITECTURES
CDN
AppServer
Database
S3
Multi-tier
Transactional
(Java, LAMP)
Cache
Containers
NoSQL
Orchestrate
Microservices
Transactional
(Docker, K8s)
Endpoints
Step Fn’s
IoT
Functions
Serverless
Transactional
(Lambda, APIs, IoT)
Streams
Spark
Warehouse
ETL
Big Data
Analytical
(Data lakes, Hubs)
…
AWS CloudFormation can support many app types
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MODELING SERVERLESS APPS
Several options:
• Native serverless resource creation
• Serverless Application Model (SAM)
transform
• Chalice Microframework
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SERVERLESS APPLICATION MODEL
Several options:
• AWS CloudFormation extension or
“transform”
• Optimized for serverless apps
• Serverless resource types: functions,
APIs, tables
• Supports anything AWS CloudFormation
supports
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SERVERLESS FRAMEWORKS
Apex
Up
Chalice
ClaudiaJS
DEEP
Gordon
Gestalt
Iron Functions
Kappa
Lambada
Lambdoku
Shep
Sparta
Turtle
Zappa
Lambdify
Squeezer
…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Developers:
Test and Validate
Developers:
Serverless Apps
System Admins:
Provisioning at scale
System Admins:
Safety Guardrails
AWS CloudFormation benefits many user segments in small and large organizations,
for traditional and emerging application architectures
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHERE TO GO FROM HERE
Termination Protection http://amzn.to/2y8KbjV
Stack Policies http://amzn.to/28JmWkT
Deletion Policy http://amzn.to/1qtkrkg
IAM Policy http://amzn.to/2e345Tp
AWS Config https://aws.amazon.com/config/
Rollback Triggers http://amzn.to/2zDV3GR
StackSets http://amzn.to/2zK0nGi
Validation Pipeline http://amzn.to/2hrz8rM
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Remember to complete
your evaluations!
Anil Kumar – aanik@amazon.com
Luis Colon – licolon@amazon.com
DEV317
Deep Dive on AWS
CloudFormation

@luiscolon1
@anilsdomain
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU!

Weitere ähnliche Inhalte

Was ist angesagt?

Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...Amazon Web Services
 
AWS Data Transfer Services - AWS Gateway, AWS Snowball, AWS Snowball Edge, an...
AWS Data Transfer Services - AWS Gateway, AWS Snowball, AWS Snowball Edge, an...AWS Data Transfer Services - AWS Gateway, AWS Snowball, AWS Snowball Edge, an...
AWS Data Transfer Services - AWS Gateway, AWS Snowball, AWS Snowball Edge, an...Amazon Web Services
 
STG301_Deep Dive on Amazon S3 and Glacier Architecture
STG301_Deep Dive on Amazon S3 and Glacier ArchitectureSTG301_Deep Dive on Amazon S3 and Glacier Architecture
STG301_Deep Dive on Amazon S3 and Glacier ArchitectureAmazon Web Services
 
DEV315_Automating Lambda Deployments with GitHub, Jenkins, AWS CodePipeline a...
DEV315_Automating Lambda Deployments with GitHub, Jenkins, AWS CodePipeline a...DEV315_Automating Lambda Deployments with GitHub, Jenkins, AWS CodePipeline a...
DEV315_Automating Lambda Deployments with GitHub, Jenkins, AWS CodePipeline a...Amazon Web Services
 
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017Amazon Web Services
 
Build a Java Spring Application on Amazon ECS - CON332 - re:Invent 2017
Build a Java Spring Application on Amazon ECS - CON332 - re:Invent 2017Build a Java Spring Application on Amazon ECS - CON332 - re:Invent 2017
Build a Java Spring Application on Amazon ECS - CON332 - re:Invent 2017Amazon Web Services
 
Stack Mastery: Create and Optimize Advanced AWS CloudFormation Templates - DE...
Stack Mastery: Create and Optimize Advanced AWS CloudFormation Templates - DE...Stack Mastery: Create and Optimize Advanced AWS CloudFormation Templates - DE...
Stack Mastery: Create and Optimize Advanced AWS CloudFormation Templates - DE...Amazon Web Services
 
STG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data WorkloadsSTG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data WorkloadsAmazon Web Services
 
CMP209_Getting started with Docker on AWS
CMP209_Getting started with Docker on AWSCMP209_Getting started with Docker on AWS
CMP209_Getting started with Docker on AWSAmazon Web Services
 
NET304_Deep Dive into the New Network Load Balancer
NET304_Deep Dive into the New Network Load BalancerNET304_Deep Dive into the New Network Load Balancer
NET304_Deep Dive into the New Network Load BalancerAmazon Web Services
 
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...Amazon Web Services
 
NEW LAUNCH! Introducing AWS Fargate - CON214 - re:Invent 2017
NEW LAUNCH! Introducing AWS Fargate - CON214 - re:Invent 2017NEW LAUNCH! Introducing AWS Fargate - CON214 - re:Invent 2017
NEW LAUNCH! Introducing AWS Fargate - CON214 - re:Invent 2017Amazon Web Services
 
Quilt - Distributed Load Simulation from AWS
Quilt - Distributed Load Simulation from AWSQuilt - Distributed Load Simulation from AWS
Quilt - Distributed Load Simulation from AWSAjith Jose
 
DAT320_Moving a Galaxy into Cloud
DAT320_Moving a Galaxy into CloudDAT320_Moving a Galaxy into Cloud
DAT320_Moving a Galaxy into CloudAmazon Web Services
 
Disaster Recovery with AWS: Tiered Approaches to Balance Cost with Recovery O...
Disaster Recovery with AWS: Tiered Approaches to Balance Cost with Recovery O...Disaster Recovery with AWS: Tiered Approaches to Balance Cost with Recovery O...
Disaster Recovery with AWS: Tiered Approaches to Balance Cost with Recovery O...Amazon Web Services
 
Improving Backup & DR – AWS Storage Gateway - AWS Online Tech Talks
Improving Backup & DR – AWS Storage Gateway - AWS Online Tech TalksImproving Backup & DR – AWS Storage Gateway - AWS Online Tech Talks
Improving Backup & DR – AWS Storage Gateway - AWS Online Tech TalksAmazon Web Services
 
Building Global Serverless Backends
Building Global Serverless BackendsBuilding Global Serverless Backends
Building Global Serverless BackendsAmazon Web Services
 
CTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksCTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksAmazon Web Services
 
CTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsCTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsAmazon Web Services
 

Was ist angesagt? (20)

Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
 
AWS Data Transfer Services - AWS Gateway, AWS Snowball, AWS Snowball Edge, an...
AWS Data Transfer Services - AWS Gateway, AWS Snowball, AWS Snowball Edge, an...AWS Data Transfer Services - AWS Gateway, AWS Snowball, AWS Snowball Edge, an...
AWS Data Transfer Services - AWS Gateway, AWS Snowball, AWS Snowball Edge, an...
 
STG301_Deep Dive on Amazon S3 and Glacier Architecture
STG301_Deep Dive on Amazon S3 and Glacier ArchitectureSTG301_Deep Dive on Amazon S3 and Glacier Architecture
STG301_Deep Dive on Amazon S3 and Glacier Architecture
 
DEV315_Automating Lambda Deployments with GitHub, Jenkins, AWS CodePipeline a...
DEV315_Automating Lambda Deployments with GitHub, Jenkins, AWS CodePipeline a...DEV315_Automating Lambda Deployments with GitHub, Jenkins, AWS CodePipeline a...
DEV315_Automating Lambda Deployments with GitHub, Jenkins, AWS CodePipeline a...
 
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
 
Build a Java Spring Application on Amazon ECS - CON332 - re:Invent 2017
Build a Java Spring Application on Amazon ECS - CON332 - re:Invent 2017Build a Java Spring Application on Amazon ECS - CON332 - re:Invent 2017
Build a Java Spring Application on Amazon ECS - CON332 - re:Invent 2017
 
Stack Mastery: Create and Optimize Advanced AWS CloudFormation Templates - DE...
Stack Mastery: Create and Optimize Advanced AWS CloudFormation Templates - DE...Stack Mastery: Create and Optimize Advanced AWS CloudFormation Templates - DE...
Stack Mastery: Create and Optimize Advanced AWS CloudFormation Templates - DE...
 
STG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data WorkloadsSTG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data Workloads
 
CMP209_Getting started with Docker on AWS
CMP209_Getting started with Docker on AWSCMP209_Getting started with Docker on AWS
CMP209_Getting started with Docker on AWS
 
NET304_Deep Dive into the New Network Load Balancer
NET304_Deep Dive into the New Network Load BalancerNET304_Deep Dive into the New Network Load Balancer
NET304_Deep Dive into the New Network Load Balancer
 
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
STG329_ProtectWise optimizes performance of Cassandra and Kafka workloads wit...
 
NEW LAUNCH! Introducing AWS Fargate - CON214 - re:Invent 2017
NEW LAUNCH! Introducing AWS Fargate - CON214 - re:Invent 2017NEW LAUNCH! Introducing AWS Fargate - CON214 - re:Invent 2017
NEW LAUNCH! Introducing AWS Fargate - CON214 - re:Invent 2017
 
Quilt - Distributed Load Simulation from AWS
Quilt - Distributed Load Simulation from AWSQuilt - Distributed Load Simulation from AWS
Quilt - Distributed Load Simulation from AWS
 
DAT320_Moving a Galaxy into Cloud
DAT320_Moving a Galaxy into CloudDAT320_Moving a Galaxy into Cloud
DAT320_Moving a Galaxy into Cloud
 
Disaster Recovery with AWS: Tiered Approaches to Balance Cost with Recovery O...
Disaster Recovery with AWS: Tiered Approaches to Balance Cost with Recovery O...Disaster Recovery with AWS: Tiered Approaches to Balance Cost with Recovery O...
Disaster Recovery with AWS: Tiered Approaches to Balance Cost with Recovery O...
 
Serverless Developer Experience
Serverless Developer ExperienceServerless Developer Experience
Serverless Developer Experience
 
Improving Backup & DR – AWS Storage Gateway - AWS Online Tech Talks
Improving Backup & DR – AWS Storage Gateway - AWS Online Tech TalksImproving Backup & DR – AWS Storage Gateway - AWS Online Tech Talks
Improving Backup & DR – AWS Storage Gateway - AWS Online Tech Talks
 
Building Global Serverless Backends
Building Global Serverless BackendsBuilding Global Serverless Backends
Building Global Serverless Backends
 
CTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksCTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash Talks
 
CTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsCTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video Workflows
 

Ähnlich wie DEV317_Deep Dive on AWS CloudFormation

Migration of Microsoft Workloads to AWS
Migration of Microsoft Workloads to AWSMigration of Microsoft Workloads to AWS
Migration of Microsoft Workloads to AWSAmazon Web Services
 
DEV337_Deploy a Data Lake with AWS CloudFormation
DEV337_Deploy a Data Lake with AWS CloudFormationDEV337_Deploy a Data Lake with AWS CloudFormation
DEV337_Deploy a Data Lake with AWS CloudFormationAmazon Web Services
 
Deploy a Data Lake with AWS CloudFormation - DEV337 - re:Invent 2017
Deploy a Data Lake with AWS CloudFormation - DEV337 - re:Invent 2017Deploy a Data Lake with AWS CloudFormation - DEV337 - re:Invent 2017
Deploy a Data Lake with AWS CloudFormation - DEV337 - re:Invent 2017Amazon Web Services
 
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWSGPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWSAmazon Web Services
 
Managing a Database Migration Project Best Practices and Customer References.pdf
Managing a Database Migration Project Best Practices and Customer References.pdfManaging a Database Migration Project Best Practices and Customer References.pdf
Managing a Database Migration Project Best Practices and Customer References.pdfAmazon Web Services
 
GPSTEC319-Build Once Deploy Many Architecting and Building Automated Reusable...
GPSTEC319-Build Once Deploy Many Architecting and Building Automated Reusable...GPSTEC319-Build Once Deploy Many Architecting and Building Automated Reusable...
GPSTEC319-Build Once Deploy Many Architecting and Building Automated Reusable...Amazon Web Services
 
Introduction to the Security Perspective of the Cloud Adoption Framework
Introduction to the Security Perspective of the Cloud Adoption FrameworkIntroduction to the Security Perspective of the Cloud Adoption Framework
Introduction to the Security Perspective of the Cloud Adoption FrameworkAmazon Web Services
 
Use Amazon EC2 Systems Manager to Perform Automated Resilience Testing in You...
Use Amazon EC2 Systems Manager to Perform Automated Resilience Testing in You...Use Amazon EC2 Systems Manager to Perform Automated Resilience Testing in You...
Use Amazon EC2 Systems Manager to Perform Automated Resilience Testing in You...Amazon Web Services
 
Building Manageable Windows Workloads - ARC324 - re:Invent 2017
Building Manageable Windows Workloads - ARC324 - re:Invent 2017Building Manageable Windows Workloads - ARC324 - re:Invent 2017
Building Manageable Windows Workloads - ARC324 - re:Invent 2017Amazon Web Services
 
遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具Amazon Web Services
 
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...Amazon Web Services
 
Introduction to the Security Perspective of the Cloud Adoption Framework (CAF)
Introduction to the Security Perspective of the Cloud Adoption Framework (CAF)Introduction to the Security Perspective of the Cloud Adoption Framework (CAF)
Introduction to the Security Perspective of the Cloud Adoption Framework (CAF)Amazon Web Services
 
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...Using AWS Management Tools to Enable Governance, Compliance, Operational, and...
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...Amazon Web Services
 
Module 5: AWS Elasticity and Management Tools - AWSome Day Online Conference
Module 5: AWS Elasticity and Management Tools - AWSome Day Online Conference Module 5: AWS Elasticity and Management Tools - AWSome Day Online Conference
Module 5: AWS Elasticity and Management Tools - AWSome Day Online Conference Amazon Web Services
 
Systems Operations for Windows Workloads
Systems Operations for Windows WorkloadsSystems Operations for Windows Workloads
Systems Operations for Windows WorkloadsAmazon Web Services
 
Migrating Your Databases to AWS – Tools and Services (Level 100)
Migrating Your Databases to AWS – Tools and Services (Level 100)Migrating Your Databases to AWS – Tools and Services (Level 100)
Migrating Your Databases to AWS – Tools and Services (Level 100)Amazon Web Services
 
Leverage AWS Marketplace to Accelerate Production-Ready Workloads - MSC204 - ...
Leverage AWS Marketplace to Accelerate Production-Ready Workloads - MSC204 - ...Leverage AWS Marketplace to Accelerate Production-Ready Workloads - MSC204 - ...
Leverage AWS Marketplace to Accelerate Production-Ready Workloads - MSC204 - ...Amazon Web Services
 
MSC204_Leverage AWS Marketplace to accelerate production ready workloads
MSC204_Leverage AWS Marketplace to accelerate production ready workloadsMSC204_Leverage AWS Marketplace to accelerate production ready workloads
MSC204_Leverage AWS Marketplace to accelerate production ready workloadsAmazon Web Services
 

Ähnlich wie DEV317_Deep Dive on AWS CloudFormation (20)

Migration of Microsoft Workloads to AWS
Migration of Microsoft Workloads to AWSMigration of Microsoft Workloads to AWS
Migration of Microsoft Workloads to AWS
 
DEV337_Deploy a Data Lake with AWS CloudFormation
DEV337_Deploy a Data Lake with AWS CloudFormationDEV337_Deploy a Data Lake with AWS CloudFormation
DEV337_Deploy a Data Lake with AWS CloudFormation
 
Deploy a Data Lake with AWS CloudFormation - DEV337 - re:Invent 2017
Deploy a Data Lake with AWS CloudFormation - DEV337 - re:Invent 2017Deploy a Data Lake with AWS CloudFormation - DEV337 - re:Invent 2017
Deploy a Data Lake with AWS CloudFormation - DEV337 - re:Invent 2017
 
Deep Dive on AWS CloudFormation
Deep Dive on AWS CloudFormationDeep Dive on AWS CloudFormation
Deep Dive on AWS CloudFormation
 
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWSGPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
 
Managing a Database Migration Project Best Practices and Customer References.pdf
Managing a Database Migration Project Best Practices and Customer References.pdfManaging a Database Migration Project Best Practices and Customer References.pdf
Managing a Database Migration Project Best Practices and Customer References.pdf
 
GPSTEC319-Build Once Deploy Many Architecting and Building Automated Reusable...
GPSTEC319-Build Once Deploy Many Architecting and Building Automated Reusable...GPSTEC319-Build Once Deploy Many Architecting and Building Automated Reusable...
GPSTEC319-Build Once Deploy Many Architecting and Building Automated Reusable...
 
Introduction to the Security Perspective of the Cloud Adoption Framework
Introduction to the Security Perspective of the Cloud Adoption FrameworkIntroduction to the Security Perspective of the Cloud Adoption Framework
Introduction to the Security Perspective of the Cloud Adoption Framework
 
Use Amazon EC2 Systems Manager to Perform Automated Resilience Testing in You...
Use Amazon EC2 Systems Manager to Perform Automated Resilience Testing in You...Use Amazon EC2 Systems Manager to Perform Automated Resilience Testing in You...
Use Amazon EC2 Systems Manager to Perform Automated Resilience Testing in You...
 
Building Manageable Windows Workloads - ARC324 - re:Invent 2017
Building Manageable Windows Workloads - ARC324 - re:Invent 2017Building Manageable Windows Workloads - ARC324 - re:Invent 2017
Building Manageable Windows Workloads - ARC324 - re:Invent 2017
 
遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具
 
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...
 
Introducing Amazon Fargate
Introducing Amazon FargateIntroducing Amazon Fargate
Introducing Amazon Fargate
 
Introduction to the Security Perspective of the Cloud Adoption Framework (CAF)
Introduction to the Security Perspective of the Cloud Adoption Framework (CAF)Introduction to the Security Perspective of the Cloud Adoption Framework (CAF)
Introduction to the Security Perspective of the Cloud Adoption Framework (CAF)
 
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...Using AWS Management Tools to Enable Governance, Compliance, Operational, and...
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...
 
Module 5: AWS Elasticity and Management Tools - AWSome Day Online Conference
Module 5: AWS Elasticity and Management Tools - AWSome Day Online Conference Module 5: AWS Elasticity and Management Tools - AWSome Day Online Conference
Module 5: AWS Elasticity and Management Tools - AWSome Day Online Conference
 
Systems Operations for Windows Workloads
Systems Operations for Windows WorkloadsSystems Operations for Windows Workloads
Systems Operations for Windows Workloads
 
Migrating Your Databases to AWS – Tools and Services (Level 100)
Migrating Your Databases to AWS – Tools and Services (Level 100)Migrating Your Databases to AWS – Tools and Services (Level 100)
Migrating Your Databases to AWS – Tools and Services (Level 100)
 
Leverage AWS Marketplace to Accelerate Production-Ready Workloads - MSC204 - ...
Leverage AWS Marketplace to Accelerate Production-Ready Workloads - MSC204 - ...Leverage AWS Marketplace to Accelerate Production-Ready Workloads - MSC204 - ...
Leverage AWS Marketplace to Accelerate Production-Ready Workloads - MSC204 - ...
 
MSC204_Leverage AWS Marketplace to accelerate production ready workloads
MSC204_Leverage AWS Marketplace to accelerate production ready workloadsMSC204_Leverage AWS Marketplace to accelerate production ready workloads
MSC204_Leverage AWS Marketplace to accelerate production ready workloads
 

Mehr von 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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon 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
 
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 WorkloadsAmazon 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 sfatareAmazon 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 NodeJSAmazon 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 webAmazon 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 sfatareAmazon 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 ServiceAmazon 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
 

DEV317_Deep Dive on AWS CloudFormation

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Deep Dive on AWS CloudFormation Anil Kumar, Senior Product Manager Luis Colon, Senior Developer Advocate November 28, 2017 DEV317
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THEMES for this session Developers: Test and Validate Developers: Serverless Apps System Admins: Provisioning at scale System Admins: Safety Guardrails
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AGENDA Learn how to… • Protect stacks and monitor resources for changes • Provision AWS resources across accounts and regions • Improve deployment reliability with validation • Options to create and deploy serverless apps What to expect from this session
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS CLOUDFORMATION AT A GLANCE Code in YAML or JSON directly or use sample templates Upload local files or from an S3 bucket Create stack using console, API or CLI Stacks and resources are provisioned Enables provisioning and management of your infrastructure
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS CLOUDFORMATION AT A GLANCE Over 350,000 AWS customers use AWS CloudFormation. Over 75% of the top 10,000 highest spend AWS customers use AWS CloudFormation. Over 2.4M AWS CloudFormation stacks are managed by AWS customers on AWS CloudFormation.
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AGENDA Learn how to… • Protect stacks and monitor resources for changes • Provision AWS resources across accounts and regions • Improve deployment reliability with validation • Options to create and deploy serverless apps What to expect from this session
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PROTECTING STACKS AND RESOURCES 1. Locking stacks 2. Stack-level policies 3. Resource by resource 4. Users and roles Quickly supplement other controls Implement restrictions on groups of resources Add fine-grained controls for critical resources Control who can use specific templates and resources Implementing multiple layers of guardrails
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1. STACK TERMINATION PROTECTION ideal for critical stacks
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. { "Statement" : [ { "Effect" : "Deny", "Action" : "Update:*", "Principal": "*", "Resource" : "*", "Condition" : { "StringEquals" : { "ResourceType" : ["AWS::RDS::DBInstance"] } } }, { "Effect" : "Allow", "Action" : "Update:*", "Principal": "*", "Resource" : "*" } ] } 2. STACK LEVEL POLICIES Example: only prevent updates to all RDS database instances
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. { "AWSTemplateFormatVersion":"2010-09-09", "Resources": { "myVolume": { "Type":"AWS::EC2::Volume", "DeletionPolicy":"Snapshot", "Properties": { "AvailabilityZone":"us-east-1a", "Size":"200" } } } } 3. RESOURCE LEVEL POLICIES Example: deletion policy to backup/snapshot an EC2 volume
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. { "Effect":"Allow", "Action":["cloudformation:CreateStack"] }, { "Effect":"Deny", "Action":["cloudformation:CreateStack"] “Condition”:{ ‘ForAnyValue:StringLike”:{ “cloudformation:ResourceType”: [“AWS::IAM::*”] } } } 4. USING IAM POLICIES Example: deny CreateStack operation for IAM resources
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AGENDA Learn how to… • Protect stacks and monitor resources for changes • Provision AWS resources across accounts and regions • Improve deployment reliability with validation • Options to create and deploy serverless apps What to expect from this session
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MONITORING STACKS AND RESOURCE CHANGES 1. Detecting configuration drift Tracking changes made outside of CloudFormation to stack resources Implementing multiple layers of guardrails 2. Dynamic monitoring Monitoring during the stack creation and update 3. Recording changes Assess, audit, and evaluate configurations
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONFIGURATION DRIFT Planned changes can be properly tested… …but not all changes can be planned!
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONFIGURATION DRIFT DEFINED Any changes made outside of AWS CloudFormation to one or more resources contained in a stack that modify the expected configuration values of resources would cause drift in the stack. The change can be any of the following: o Modifying stack resource property values o Modifying default values of stack resources o Deleting stack resources
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONFIGURATION DRIFT DEFINED Key Concepts • Expected values: stated in CloudFormation templates & defaults • Current values: live configuration values of resources provisioned • Drift = difference between Expected and Current values
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONFIGURATION DRIFT: SIDE EFFECTS Stack Operation • Can cause the stack update operation to fail • Move the stack to a state in which you cannot update or delete the stack Audit and Compliance • Divergence from your approved architecture • Unaccounted changes, not reflected in you source code (templates) Delays in infrastructure updates Fragile change control; non-compliance
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT DO WE NEED? A feature that allows you to detect and view changes made outside of CloudFormation to AWS resources managed by CloudFormation. Visibility Detect & Compare
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – COMING SOON Coming soon in 2018, Configuration drift detection capability in AWS CloudFormation will be generally available in all AWS commercial regions.
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEMO A W S C L O U D F O R M A T I O N D R I F T D E T E C T I O N
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – CONSOLE WALKTHROUGH (1/8)
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – CONSOLE (2/8)
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – CONSOLE (3/8)
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – CONSOLE (4/8)
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – CONSOLE (5/8)
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – CONSOLE (6/8)
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – CONSOLE (7/8)
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DRIFT DETECTION – CONSOLE (8/8)
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2. DYNAMIC MONITORING USING ROLLBACK TRIGGERS Revert changes impacting performance Integrate application- and stack resource-level alarms from Amazon CloudWatch Monitor these alarms while updating stacks If alarms fire, AWS CloudFormation automatically rolls back
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1. BUILD A ROLLBACK TRIGGER batch-service-rollbacktrigger.json { "RollbackTriggers": [ { "Arn": "arn:aws:cloudwatch:us-east- 2:xxxxxxxxxxxx:alarm:SQSQueueDepth", "Type": "AWS::CloudWatch::Alarm" } ], "MonitoringTimeInMinutes": 10 } 2. DYNAMIC MONITORING USING ROLLBACK TRIGGERS Revert changes impacting performance (An example (1/2)) 2. UPDATE STACK USING THAT ROLLBACK TRIGGER aws cloudformation update-stack --region us-east-2 --stack-name ImageProcService --template-body file://batch-service.yml --parameters file://batch-service-config.json --rollback-configuration file://batch-service- rollbacktrigger.json
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2. DYNAMIC MONITORING USING ROLLBACK TRIGGERS Revert changes impacting performance (An example (2/2)) If in ALARM state, CloudFormation automatically rolls back
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. RECORD & MONITOR STACK CHANGES WITH AWS CONFIG • Record configuration changes to CloudFormation stacks • Track current and historical stack configuration • Get notified via Amazon SNS when changes occur • Maintain audit compliance and governance controls
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. RECORD & MONITOR STACK CHANGES WITH AWS CONFIG See changes using AWS Config timeline
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. RECORD & MONITOR STACK CHANGES WITH AWS CONFIG Drill down further to see details
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. RECORD & MONITOR STACK CHANGES WITH AWS CONFIG Pre-built AWS Config rule: cloudformation-stack-notification-check • Verify whether stacks are sending SNS notifications
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. System Admins: Safety Guardrails Developers: Test and Validate Developers: Serverless Apps System Admins: Provisioning at scale
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PROVISIONING AT SCALE As enterprises grow, many leverage multiple accounts and regions • Create boundaries for critical resources • Some regions or accounts may need to be restricted or isolated • Reduce availability risks • Spreading traffic geographically
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PROVISIONING AT SCALE Customer Profile #1 #2 #3 • 2800+ accounts and wants to grow to 10,000 accounts • 180+ accounts • 19 accounts and plans to have 40 accounts • Deploy in nine AWS Regions and wants to be in 11 regions • Deploy in selective regions • Multiple regions • VPC, EC2, IAM, Subnet, Security Groups, and more • VPC, IAM, CloudTrail, AWS Config • VPC, Security Groups, IAM roles, CloudTrail Let’s look at few customer profiles
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PROVISIONING AT SCALE: CHALLENGES • Multiple, manual operations can be error-prone • Home-grown, multi-account, multi-region scripts add maintenance • Third party tooling adds cost
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. STACKSETS Create and update stacks in multiple accounts and regions using a single operation
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CORE CONCEPTS Region 1Account 1 Account 1 Account 1 Account 2 Account 3 Account 2 Account 3 Account 2 Account 3done from an administrator account with an assumable IAM role the stackset is a single global template Three target accounts across three regions which delegate trust to the administrator account Implements nine stack instances Region 2 Region 3
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PROVISIONING AT SCALE WITH STACKSETS Set up new accounts with defaults • Enable CloudTrail for all regions; use admin’s S3 bucket • Set up AWS Config rules to properly tag resources • Set up AWS KMS keys Deploy identical infrastructure for globally used apps • Manage app stacks across multiple regions • Use CFN to speed up new region setup Business Continuity/Disaster Recovery • Configure Amazon S3 bucket replication • Provision Amazon RDS read replicas
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. STACKSET OPERATIONS Operations • Create StackSet • Update StackSet • Delete stack and StackSet Options • Maximum concurrent accounts • Failure tolerance • Retain stacks
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. STACKSETS: EARLY ADOPTER FEEDBACK “[It] has simplified our continuous deployment initiative, allowing centralized management of pipelines deploying solutions across multiple functional AWS accounts. [It] greatly reduced project complexity while providing greater control” - Kevin Price, Architect, GE Appliance “[It] has been instrumental for us in our quest to deliver compliance, security, and audit requirements for the entirety of our AWS estate” - Joe Jarman, SRE, HIVE (Centrica, parent co. of British Gas) “[It] presents the opportunity for significant time savings while increasing adherence to golden configurations across multiple accounts.” - Aater Suleman, CEO, Flux7
  • 45. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEMO S T A C K S E T S
  • 46. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. STACKSETS – Demo
  • 47. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. System Admins: Safety Guardrails Developers: Test and Validate Developers: Serverless Apps System Admins: Provisioning at scale
  • 48. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 49. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. INFRASTRUCTURE AS IS CODE! Template code should be in a repo • Track issues and history • Commits can trigger test suites and builds • Use tools and utilities for validation • Hook into Jenkins, Ansible, Chef, Puppet, …
  • 50. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TESTING AND VALIDATING Keep track of what you are validating • Environments: stage vs production • Validate app code vs generated code separately Automate validation often and log/alert • Validate intermediate and end results
  • 51. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VALIDATION PIPELINE Run a set of customizable tests for logical and functional integrity against templates • Integrates with an existing AWS CodeCommit repo • Provisions and configures necessary services • AWS CodePipeline • AWS CodeBuild • AWS Lambda
  • 52. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. REFERENCE IMPLEMENTATION Triggered by a commit on your repo 1. Run logical pre-create tests, including syntax checks 2. Launch test stacks in multiple regions 3. Runs functional post-create sets on the test stacks 4. If tests are successful, an email is sent to indicate template is ready for approval 5. Final template is deployed to an S3 bucket, also storing CloudWatch data for each Lambda function 6. Deploy stack directly from the S3 bucket
  • 53. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. System Admins: Safety Guardrails Developers: Test and Validate Developers: Serverless Apps System Admins: Provisioning at scale
  • 54. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WORKING ACROSS APP ARCHITECTURES CDN AppServer Database S3 Multi-tier Transactional (Java, LAMP) Cache Containers NoSQL Orchestrate Microservices Transactional (Docker, K8s) Endpoints Step Fn’s IoT Functions Serverless Transactional (Lambda, APIs, IoT) Streams Spark Warehouse ETL Big Data Analytical (Data lakes, Hubs) … AWS CloudFormation can support many app types
  • 55. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MODELING SERVERLESS APPS Several options: • Native serverless resource creation • Serverless Application Model (SAM) transform • Chalice Microframework
  • 56. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SERVERLESS APPLICATION MODEL Several options: • AWS CloudFormation extension or “transform” • Optimized for serverless apps • Serverless resource types: functions, APIs, tables • Supports anything AWS CloudFormation supports
  • 57. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SERVERLESS FRAMEWORKS Apex Up Chalice ClaudiaJS DEEP Gordon Gestalt Iron Functions Kappa Lambada Lambdoku Shep Sparta Turtle Zappa Lambdify Squeezer …
  • 58. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Developers: Test and Validate Developers: Serverless Apps System Admins: Provisioning at scale System Admins: Safety Guardrails AWS CloudFormation benefits many user segments in small and large organizations, for traditional and emerging application architectures
  • 59. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHERE TO GO FROM HERE Termination Protection http://amzn.to/2y8KbjV Stack Policies http://amzn.to/28JmWkT Deletion Policy http://amzn.to/1qtkrkg IAM Policy http://amzn.to/2e345Tp AWS Config https://aws.amazon.com/config/ Rollback Triggers http://amzn.to/2zDV3GR StackSets http://amzn.to/2zK0nGi Validation Pipeline http://amzn.to/2hrz8rM
  • 60. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Remember to complete your evaluations! Anil Kumar – aanik@amazon.com Luis Colon – licolon@amazon.com DEV317 Deep Dive on AWS CloudFormation  @luiscolon1 @anilsdomain
  • 61. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU!