SlideShare ist ein Scribd-Unternehmen logo
1 von 68
Downloaden Sie, um offline zu lesen
Simone Brunozzi
Sr. Technology Evangelist, AWS
@simon
things
you don’t know about
Amazon Web Services5
1
01
AWS CLI
Delete a bucket and all its
content with just one
command
2
3
aws s3 rb s3://bucket-name --force
4
5
6
02
AWS CLI
Recursive copy of a directory
and its subfolders to Amazon
S3 (and vice versa)
7
8
aws s3 cp MyFolder s3://bucket-name --
recursive [--region us-west-2]
9
03
Autoscaling
Hmm...
10
Autoscaling
Amazon S3
Amazon DynamoDB
Amazon ELB (Elastic Load Balancing)
Amazon Glacier
Amazon EB (Elastic Beanstalk)
Etc.
11
03
EC2 Autoscaling
Automatically scale out EC2
within ELB
(old version)
12
Get the AS Command Line Tools:
aws.amazon.com/developertools/2535
1) Launch config:AMI to be used
2) Autoscaling group: where/how to launch
3) Autoscaling policy: what should AS do?
4) Autoscaling trigger: what will activate AS
13
AutoScaling (AS):
Four main components
13
14
AutoScaling tools
14
15
CloudWatch API Tools
15
FILE: ec2.bat
@echo off
set EC2_HOME=c:ec2
set PATH=%PATH%;%EC2_HOME%bin
set JAVA_HOME=C:Program FilesJavajre6
"%JAVA_HOME%binjava" -version
set JAVA_HOME=C:Program Files (x86)Javajre6 (Windows 7)
set EC2_PRIVATE_KEY=c:ec2PrivateKey.pem
set EC2_CERT=c:ec2509Certificate.pem
set AWS_AUTO_SCALING_HOME=c:ec2AutoScaling
set AWS_CLOUDWATCH_HOME=c:ec2CloudWatch
set PATH=%PATH%;%AWS_AUTO_SCALING_HOME%bin;%AWS_CLOUDWATCH_HOME%bin
16
Windows setup
16
FILE: .bash_profile
export EC2_HOME=~/ec2
export PATH=$PATH:$EC2_HOME/bin
export EC2_PRIVATE_KEY=pk-[removed].pem
export EC2_CERT=cert-[removed].pem
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/
export AWS_AUTO_SCALING_HOME=~/ec2/AutoScaling
export AWS_CLOUDWATCH_HOME=~/ec2/CloudWatch
export PATH=$PATH:$AWS_AUTO_SCALING_HOME/bin:$AWS_CLOUDWATCH_HOME/bin
17
Linux setup
17
% as-version
Amazon AutoScaling CLI version 1.0.61.3 (API 2011-01-01)
18
Test if it works
18
STEP 1: Create Launch Config
as-create-launch-config LC1 --image-id ami-31814f58 --instance-type m1.small
[--region us-east-1] --group SG
STEP 2:Autoscaling with ELB
as-create-auto-scaling-group ASG1 --launch-configuration LC1 --availability-
zones us-east-1b us-east-1c --min-size 2 --max-size 20 --load-balancers aws201
Check if group is created, any running EC2
as-describe-auto-scaling-groups --headers
as-describe-auto-scaling-instances --headers
19
AutoScaling + ELB
(1, 2)
19
Scale in EC2 instances to ZERO, if needed
as-update-auto-scaling-group ASG1 --min-size 0 --max-size 0
20
AutoScaling + ELB
“Emergency break”
20
STEP 3: Create Scaling Out Policy
as-put-scaling-policy SOut1 --auto-scaling-group ASG1 --adjustment=1 --type
ChangeInCapacity --cooldown 120
arn:aws:autoscaling:us-
east-1:132891460296:scalingPolicy:a4a80ac4-3e3e-46a7-9b4a-72d893803618:autoSca
lingGroupName/ASG1:policyName/SP1
21
AutoScaling + ELB
(3)
21
STEP 4: Create Metric Out Alarm
mon-put-metric-alarm MOutA1 --comparison-operator GreaterThanThreshold --
evaluation-periods 1 --metric-name CPUUtilization --namespace "AWS/EC2" --
period 60 --statistic Average --threshold 70 --alarm-actions
arn:aws:autoscaling:us-
east-1:132891460296:scalingPolicy:a4a80ac4-3e3e-46a7-9b4a-72d893803618:autoSca
lingGroupName/ASG1:policyName/SOut1 --dimensions "AutoScalingGroupName=ASG1"
22
AutoScaling + ELB
(4)
22
STEP 5: Create Scaling In Policy
as-put-scaling-policy SInP1 --auto-scaling-group ASG1 --adjustment=-1 --type
ChangeInCapacity --cooldown 120
arn:aws:autoscaling:us-east-1:132891460296:scalingPolicy:5ddb0046-a571-417f-
b025-4268baf9d860:autoScalingGroupName/ASG1:policyName/SInP1
If you are using Windows, wrap the --adjustment parameter in quotation marks:
"--adjustment=-1".
23
AutoScaling + ELB
(5)
23
STEP 6: Create Metric In Alarm
mon-put-metric-alarm MInA1 --comparison-operator LessThanThreshold --
evaluation-periods 1 --metric-name CPUUtilization --namespace "AWS/EC2" --
period 60 --statistic Average --threshold 30 --alarm-actions
arn:aws:autoscaling:us-east-1:132891460296:scalingPolicy:5ddb0046-a571-417f-
b025-4268baf9d860:autoScalingGroupName/ASG1:policyName/SInP1 --dimensions
"AutoScalingGroupName=ASG1"
24
AutoScaling + ELB
(6)
24
#!/bin/bash
aws_instance=$(wget -q -O- http://169.254.169.254/latest/meta-data/instance-
id)
aws_region=$(wget -q -O- http://169.254.169.254/latest/meta-data/hostname)
aws_region=${aws_region#*.}
aws_region=${aws_region%%.*}
aws_zone=`ec2-describe-instances $aws_instance --region $aws_region`
aws_zone=`expr match "$aws_zone" ".*($aws_region[a-z])"`
print "Instance: $aws_instance<br>Region: $aws_region<br>Availability Zone:
$aws_zone<br><br>END" > index.html
25
Script you can use
within each EC2 instance, at boot
25
03
EC2 Autoscaling
Automatically scale out EC2
within ELB
(NEW version)
26
27
04
EC2 metadata
How to get details related to
the EC2 machine that I’m
running (PHP)
28
29
30
05
VPC + Cloudformation
Using CF to create a 3-
tier architecture within
VPC.
(first steps)
31
{
"AWSTemplateFormatVersion" : "2010-09-09",
! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture",
! "Parameters" : {
! ! "VpcCidr" : {
! ! ! "Description" : "CIDR for the VPC",
! ! ! "Type" : "String",
! ! ! "MinLength": "9",
! ! ! "MaxLength": "18",
! ! ! "Default" : "10.0.0.0/16",
! ! ! "AllowedPattern" : "(d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})/(
d{1,2})",
! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/
x."
! ! }
},
! "Resources" : {
"VPC" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : {"Ref" : "VpcCidr"},
"Tags" : [
{"Key" : "Application", "Value" : {"Ref" : "AWS::StackId"} }
]
}
}
! }
}
32
{
"AWSTemplateFormatVersion" : "2010-09-09",
! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture",
! "Parameters" : {
! ! "VpcCidr" : {
! ! ! "Description" : "CIDR for the VPC",
! ! ! "Type" : "String",
! ! ! "MinLength": "9",
! ! ! "MaxLength": "18",
! ! ! "Default" : "10.0.0.0/16",
! ! ! "AllowedPattern" : "(d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})/(
d{1,2})",
! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/
x."
! ! }
},
! "Resources" : {
"VPC" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : {"Ref" : "VpcCidr"},
"Tags" : [
{"Key" : "Application", "Value" : {"Ref" : "AWS::StackId"} }
]
}
}
! }
}
Do you hate me?
Too small?
33
{
"AWSTemplateFormatVersion" : "2010-09-09",
! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture",
! "Parameters" : {
! ! "VpcCidr" : {
! ! ! "Description" : "CIDR for the VPC",
! ! ! "Type" : "String",
! ! ! "MinLength": "9",
! ! ! "MaxLength": "18",
! ! ! "Default" : "10.0.0.0/16",
! ! ! "AllowedPattern" : "(d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})/(
d{1,2})",
! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/
x."
! ! }
},
! "Resources" : {
"VPC" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : {"Ref" : "VpcCidr"},
"Tags" : [
{"Key" : "Application", "Value" : {"Ref" : "AWS::StackId"} }
]
}
}
! }
}
34
{
"AWSTemplateFormatVersion" : "2010-09-09",
! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture",
! "Parameters" : {
! ! "VpcCidr" : {
! ! ! "Description" : "CIDR for the VPC",
! ! ! "Type" : "String",
! ! ! "MinLength": "9",
! ! ! "MaxLength": "18",
! ! ! "Default" : "10.0.0.0/16",
! ! ! "AllowedPattern" : "(d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})/(
d{1,2})",
! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/
x."
! ! }
},
! "Resources" : {
"VPC" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : {"Ref" : "VpcCidr"},
"Tags" : [
{"Key" : "Application", "Value" : {"Ref" : "AWS::StackId"} }
]
}
}
! }
}
35
cfn-create-stack CustomerLittleNetwork --tag
"Key=env; Value=temp" --template-file
stack_cfn_learn_001_vpc_step1.template
cfn-describe-stacks
cfn-describe-stacks CustomerLittleNetwork
cfn-list-stack-resources CustomerLittleNetwork
36
37
38
cfn-update-stack CustomerLittleNetwork
--template-file
stack_cfn_learn_001_vpc_step2.template
cfn-describe-stacks CustomerLittleNetwork
cfn-list-stack-resources CustomerLittleNetwork
39
{
"AWSTemplateFormatVersion" : "2010-09-09",
! "Description": "Creates a Multi-AZ VPC
with subnets for a three tier architecture",
! "Parameters" : {
! ! "VpcCidr" : {
40
"Parameters" : {
! ! "VpcCidr" : {
! ! ! "Description" : "CIDR for the VPC",
! ! ! "Type" : "String",
! ! ! "MinLength": "9",
! ! ! "MaxLength": "18",
! ! ! "Default" : "10.0.0.0/16",
! ! ! "AllowedPattern" : "(d{1,3}).(
d{1,3}).(d{1,3}).(d{1,3})/(d{1,2})",
! ! ! "ConstraintDescription" : "must be a
valid CIDR range of the form x.x.x.x/x."
! ! },
41
! ! "PublicSubnetCidrA" : {
! ! ! "Description" : "Subnet for public
resources in the first AZ",
! ! ! "Type" : "String",
! ! ! "MinLength": "9",
! ! ! "MaxLength": "18",
! ! ! "Default" : "10.0.1.0/24",
! ! ! "AllowedPattern" : "(d{1,3}).(
d{1,3}).(d{1,3}).(d{1,3})/(d{1,2})",
! ! ! "ConstraintDescription" : "must be a
valid CIDR range of the form x.x.x.x/x."
! ! },
42
43
06
CloudFormer
CloudFormation
templates from an
existing deployment
44
45
07
Custom errors
Enabling custom error
pages on CloudFront
46
47
48
49
08
ZFS on Amazon EC2
How to install and run
ZFS on Amazon EC2
(yes, you can!)
Thanks to:
Constantin Gonzalez
Dougal Ballantyne
(demo coming soon)
50
What is ZFS?
ZFS is a file system + logical volume manager.
Features:
- protection against data corruption
- support for high storage capacities
- integration of filesystem and volume management
- snapshots and copy-on-write clones
- continuous integrity checking and automatic repair
- RAID-Z
- native NFSv4 ACLs.
OpenZFS is an Open Source implementation of it.
51
How can I use it?
Launch an EC2 instance with an AMI which supports
ZFS.
1) Linux
2) OmniOS (native ZFS support based on a fork of the
original OpenSolaris project that open-sourced ZFS)
3) FreeBSD (native ZFS support based on a port of the
OpenSolaris ZFS code)
52
1) Linux
Linux AMI:
https://aws.amazon.com/amazon-linux-ami/
http://zfsonlinux.org/
53
2) OmniOS
54
3) FreeBSD
55
And now what?
It works the same as with any other hardware
platform:
1) Attach a few EBS volumes to your EC2 instance;
2) use them as you would use regular disks with ZFS
An example follows.
56
$ sudo modprobe zfs
[attach 3 EBS volumes to the instance]
$ sudo zpool create test raidz sdf sdg sdh
$ sudo zpool status
pool: test
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
test ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
sdf ONLINE 0 0 0
sdg ONLINE 0 0 0
sdh ONLINE 0 0 0
errors: No known data errors
57
$ mount
/dev/xvda1 on / type ext4 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
test on /test type zfs (rw,xattr)
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.9G 1.6G 6.3G 20% /
tmpfs 15G 0 15G 0% /dev/shm
test 196G 0 196G 0% /test
58
What can I do with ZFS?
Many things! Here’s one example:
Use an EBS Provisioned IOPS volumes as ZFS cache
and log (ZIL) devices to accelerate your zpools.
This works much like you would use SSDs in the real
world to accelerate ZFS reads and writes.
For instance, you could provision an EBS volume with
1000 IOPS and use it as a ZIL device for your zpool in
order to accelerate database writes.
59
Learn more
http://pthree.org/2012/04/17/install-zfs-on-debian-
gnulinux/
60
09
Extra stuff
Friends, nice people,
cool things, etc.
61
62
63
64
65
66
Thank
you!
67
Simone Brunozzi
Sr. Technology Evangelist, AWS
@simon
things
you don’t know about
Amazon Web Services5
68

Weitere ähnliche Inhalte

Was ist angesagt?

Serverless archtiectures
Serverless archtiecturesServerless archtiectures
Serverless archtiecturesIegor Fadieiev
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesAmazon Web Services
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
 
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...Amazon Web Services
 
A Walk in the Cloud with AWS Lambda
A Walk in the Cloud with AWS LambdaA Walk in the Cloud with AWS Lambda
A Walk in the Cloud with AWS LambdaAmazon Web Services
 
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)Amazon Web Services
 
Aws lambda and accesing AWS RDS - Clouddictive
Aws lambda and accesing AWS RDS - ClouddictiveAws lambda and accesing AWS RDS - Clouddictive
Aws lambda and accesing AWS RDS - ClouddictiveClouddictive
 
Getting started with Amazon Dynamo BD
Getting started with Amazon Dynamo BDGetting started with Amazon Dynamo BD
Getting started with Amazon Dynamo BDAmazon Web Services
 
Building Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API GatewayBuilding Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API GatewayAmazon Web Services
 
Real-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS LambdaReal-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS LambdaAmazon Web Services
 
Continuous Delivery to Amazon ECS
Continuous Delivery to Amazon ECS Continuous Delivery to Amazon ECS
Continuous Delivery to Amazon ECS Amazon Web Services
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWSAmazon Web Services
 
AWS Lambda: Event-driven Code in the Cloud
AWS Lambda: Event-driven Code in the CloudAWS Lambda: Event-driven Code in the Cloud
AWS Lambda: Event-driven Code in the CloudAmazon Web Services
 
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)Amazon Web Services
 
Wild Rydes - Serverless DevOps to the Rescue
Wild Rydes - Serverless DevOps to the RescueWild Rydes - Serverless DevOps to the Rescue
Wild Rydes - Serverless DevOps to the RescueAmazon Web Services
 
10 Tips For Serverless Backends With NodeJS and AWS Lambda
10 Tips For Serverless Backends With NodeJS and AWS Lambda10 Tips For Serverless Backends With NodeJS and AWS Lambda
10 Tips For Serverless Backends With NodeJS and AWS LambdaJim Lynch
 

Was ist angesagt? (20)

Serverless archtiectures
Serverless archtiecturesServerless archtiectures
Serverless archtiectures
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
What's New with AWS Lambda
What's New with AWS LambdaWhat's New with AWS Lambda
What's New with AWS Lambda
 
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
 
A Walk in the Cloud with AWS Lambda
A Walk in the Cloud with AWS LambdaA Walk in the Cloud with AWS Lambda
A Walk in the Cloud with AWS Lambda
 
Intro to AWS Lambda
Intro to AWS Lambda Intro to AWS Lambda
Intro to AWS Lambda
 
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)
AWS re:Invent 2016: Running Batch Jobs on Amazon ECS (CON310)
 
Aws lambda and accesing AWS RDS - Clouddictive
Aws lambda and accesing AWS RDS - ClouddictiveAws lambda and accesing AWS RDS - Clouddictive
Aws lambda and accesing AWS RDS - Clouddictive
 
Getting started with Amazon Dynamo BD
Getting started with Amazon Dynamo BDGetting started with Amazon Dynamo BD
Getting started with Amazon Dynamo BD
 
Building Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API GatewayBuilding Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API Gateway
 
Deep Dive on AWS Lambda
Deep Dive on AWS LambdaDeep Dive on AWS Lambda
Deep Dive on AWS Lambda
 
Real-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS LambdaReal-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS Lambda
 
Continuous Delivery to Amazon ECS
Continuous Delivery to Amazon ECS Continuous Delivery to Amazon ECS
Continuous Delivery to Amazon ECS
 
Introduction to AWS Batch
Introduction to AWS BatchIntroduction to AWS Batch
Introduction to AWS Batch
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWS
 
AWS Lambda: Event-driven Code in the Cloud
AWS Lambda: Event-driven Code in the CloudAWS Lambda: Event-driven Code in the Cloud
AWS Lambda: Event-driven Code in the Cloud
 
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)
 
Wild Rydes - Serverless DevOps to the Rescue
Wild Rydes - Serverless DevOps to the RescueWild Rydes - Serverless DevOps to the Rescue
Wild Rydes - Serverless DevOps to the Rescue
 
10 Tips For Serverless Backends With NodeJS and AWS Lambda
10 Tips For Serverless Backends With NodeJS and AWS Lambda10 Tips For Serverless Backends With NodeJS and AWS Lambda
10 Tips For Serverless Backends With NodeJS and AWS Lambda
 

Andere mochten auch

5 things you don't know about Amazon Web Services
5 things you don't know about Amazon Web Services5 things you don't know about Amazon Web Services
5 things you don't know about Amazon Web ServicesSimone Brunozzi
 
Advanced Topics - Session 1 - Continuous Deployment Practices on AWS
Advanced Topics - Session 1 - Continuous Deployment Practices on AWSAdvanced Topics - Session 1 - Continuous Deployment Practices on AWS
Advanced Topics - Session 1 - Continuous Deployment Practices on AWSAmazon Web Services
 
AWS Canberra WWPS Summit 2013 - AWS for Web Applications
AWS Canberra WWPS Summit 2013 - AWS for Web ApplicationsAWS Canberra WWPS Summit 2013 - AWS for Web Applications
AWS Canberra WWPS Summit 2013 - AWS for Web ApplicationsAmazon Web Services
 
Best Practices in Architecting for the Cloud Webinar - Jinesh Varia
Best Practices in Architecting for the Cloud Webinar - Jinesh VariaBest Practices in Architecting for the Cloud Webinar - Jinesh Varia
Best Practices in Architecting for the Cloud Webinar - Jinesh VariaAmazon Web Services
 
AWS Enterprise Summit London | Relaxing on Sunday Mornings with the Sunday Ti...
AWS Enterprise Summit London | Relaxing on Sunday Mornings with the Sunday Ti...AWS Enterprise Summit London | Relaxing on Sunday Mornings with the Sunday Ti...
AWS Enterprise Summit London | Relaxing on Sunday Mornings with the Sunday Ti...Amazon Web Services
 
AWS Customer Presentation - ORbyte
AWS Customer Presentation - ORbyteAWS Customer Presentation - ORbyte
AWS Customer Presentation - ORbyteAmazon Web Services
 
The Value of Certified AWS Experts to Your Business
The Value of Certified AWS Experts to Your BusinessThe Value of Certified AWS Experts to Your Business
The Value of Certified AWS Experts to Your BusinessAmazon Web Services
 
AWS Summit Sydney 2014 | Secure Hadoop as a Service - Session Sponsored by Intel
AWS Summit Sydney 2014 | Secure Hadoop as a Service - Session Sponsored by IntelAWS Summit Sydney 2014 | Secure Hadoop as a Service - Session Sponsored by Intel
AWS Summit Sydney 2014 | Secure Hadoop as a Service - Session Sponsored by IntelAmazon Web Services
 
Running Microsoft Enterprise Workloads on Amazon Web Services
Running Microsoft Enterprise Workloads on Amazon Web ServicesRunning Microsoft Enterprise Workloads on Amazon Web Services
Running Microsoft Enterprise Workloads on Amazon Web ServicesAmazon Web Services
 
AWS Customer Presentation: Centrastage - AWS Summit 2012 - London Customer Ta...
AWS Customer Presentation: Centrastage - AWS Summit 2012 - London Customer Ta...AWS Customer Presentation: Centrastage - AWS Summit 2012 - London Customer Ta...
AWS Customer Presentation: Centrastage - AWS Summit 2012 - London Customer Ta...Amazon Web Services
 
Customer presentation: Trisys, Introduction to AWS, Cambridge
Customer presentation: Trisys, Introduction to AWS, CambridgeCustomer presentation: Trisys, Introduction to AWS, Cambridge
Customer presentation: Trisys, Introduction to AWS, CambridgeAmazon Web Services
 
Dole Food's Global Collaboration Platform and Web Presence on AWS (ENT209) | ...
Dole Food's Global Collaboration Platform and Web Presence on AWS (ENT209) | ...Dole Food's Global Collaboration Platform and Web Presence on AWS (ENT209) | ...
Dole Food's Global Collaboration Platform and Web Presence on AWS (ENT209) | ...Amazon Web Services
 
Delivering High Performance Content
Delivering High Performance ContentDelivering High Performance Content
Delivering High Performance ContentAmazon Web Services
 
AWS Webcast - Build Agile Applications in AWS Cloud
AWS Webcast - Build Agile Applications in AWS CloudAWS Webcast - Build Agile Applications in AWS Cloud
AWS Webcast - Build Agile Applications in AWS CloudAmazon Web Services
 
AWSome Day Jakarta - Opening Keynote
AWSome Day Jakarta - Opening KeynoteAWSome Day Jakarta - Opening Keynote
AWSome Day Jakarta - Opening KeynoteAmazon Web Services
 
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the Cloud
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the CloudAWS Sydney Summit 2013 - Technical Lessons on How to do DR in the Cloud
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the CloudAmazon Web Services
 
AWS Customer Presentation - The Guardian
AWS Customer Presentation - The GuardianAWS Customer Presentation - The Guardian
AWS Customer Presentation - The GuardianAmazon Web Services
 

Andere mochten auch (20)

5 things you don't know about Amazon Web Services
5 things you don't know about Amazon Web Services5 things you don't know about Amazon Web Services
5 things you don't know about Amazon Web Services
 
Big Data in the Cloud
Big Data in the Cloud Big Data in the Cloud
Big Data in the Cloud
 
Advanced Topics - Session 1 - Continuous Deployment Practices on AWS
Advanced Topics - Session 1 - Continuous Deployment Practices on AWSAdvanced Topics - Session 1 - Continuous Deployment Practices on AWS
Advanced Topics - Session 1 - Continuous Deployment Practices on AWS
 
AWS Canberra WWPS Summit 2013 - AWS for Web Applications
AWS Canberra WWPS Summit 2013 - AWS for Web ApplicationsAWS Canberra WWPS Summit 2013 - AWS for Web Applications
AWS Canberra WWPS Summit 2013 - AWS for Web Applications
 
Best Practices in Architecting for the Cloud Webinar - Jinesh Varia
Best Practices in Architecting for the Cloud Webinar - Jinesh VariaBest Practices in Architecting for the Cloud Webinar - Jinesh Varia
Best Practices in Architecting for the Cloud Webinar - Jinesh Varia
 
AWS Enterprise Summit London | Relaxing on Sunday Mornings with the Sunday Ti...
AWS Enterprise Summit London | Relaxing on Sunday Mornings with the Sunday Ti...AWS Enterprise Summit London | Relaxing on Sunday Mornings with the Sunday Ti...
AWS Enterprise Summit London | Relaxing on Sunday Mornings with the Sunday Ti...
 
AWS Customer Presentation - ORbyte
AWS Customer Presentation - ORbyteAWS Customer Presentation - ORbyte
AWS Customer Presentation - ORbyte
 
The Value of Certified AWS Experts to Your Business
The Value of Certified AWS Experts to Your BusinessThe Value of Certified AWS Experts to Your Business
The Value of Certified AWS Experts to Your Business
 
AWS Summit Sydney 2014 | Secure Hadoop as a Service - Session Sponsored by Intel
AWS Summit Sydney 2014 | Secure Hadoop as a Service - Session Sponsored by IntelAWS Summit Sydney 2014 | Secure Hadoop as a Service - Session Sponsored by Intel
AWS Summit Sydney 2014 | Secure Hadoop as a Service - Session Sponsored by Intel
 
Running Microsoft Enterprise Workloads on Amazon Web Services
Running Microsoft Enterprise Workloads on Amazon Web ServicesRunning Microsoft Enterprise Workloads on Amazon Web Services
Running Microsoft Enterprise Workloads on Amazon Web Services
 
AWS Customer Presentation: Centrastage - AWS Summit 2012 - London Customer Ta...
AWS Customer Presentation: Centrastage - AWS Summit 2012 - London Customer Ta...AWS Customer Presentation: Centrastage - AWS Summit 2012 - London Customer Ta...
AWS Customer Presentation: Centrastage - AWS Summit 2012 - London Customer Ta...
 
Customer presentation: Trisys, Introduction to AWS, Cambridge
Customer presentation: Trisys, Introduction to AWS, CambridgeCustomer presentation: Trisys, Introduction to AWS, Cambridge
Customer presentation: Trisys, Introduction to AWS, Cambridge
 
Dole Food's Global Collaboration Platform and Web Presence on AWS (ENT209) | ...
Dole Food's Global Collaboration Platform and Web Presence on AWS (ENT209) | ...Dole Food's Global Collaboration Platform and Web Presence on AWS (ENT209) | ...
Dole Food's Global Collaboration Platform and Web Presence on AWS (ENT209) | ...
 
Delivering High Performance Content
Delivering High Performance ContentDelivering High Performance Content
Delivering High Performance Content
 
AWS Webcast - Build Agile Applications in AWS Cloud
AWS Webcast - Build Agile Applications in AWS CloudAWS Webcast - Build Agile Applications in AWS Cloud
AWS Webcast - Build Agile Applications in AWS Cloud
 
AWSome Day Jakarta - Opening Keynote
AWSome Day Jakarta - Opening KeynoteAWSome Day Jakarta - Opening Keynote
AWSome Day Jakarta - Opening Keynote
 
Analytics on AWS - IP Expo 2013
Analytics on AWS - IP Expo 2013Analytics on AWS - IP Expo 2013
Analytics on AWS - IP Expo 2013
 
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the Cloud
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the CloudAWS Sydney Summit 2013 - Technical Lessons on How to do DR in the Cloud
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the Cloud
 
AWS Customer Presentation - The Guardian
AWS Customer Presentation - The GuardianAWS Customer Presentation - The Guardian
AWS Customer Presentation - The Guardian
 
AWS SeMINAR SERIES 2015 Sydney
AWS SeMINAR SERIES 2015 SydneyAWS SeMINAR SERIES 2015 Sydney
AWS SeMINAR SERIES 2015 Sydney
 

Ähnlich wie AWS CloudFormation templates for 3-tier VPC architecture

Deployment and Management on AWS:
 A Deep Dive on Options and Tools
Deployment and Management on AWS:
 A Deep Dive on Options and ToolsDeployment and Management on AWS:
 A Deep Dive on Options and Tools
Deployment and Management on AWS:
 A Deep Dive on Options and ToolsDanilo Poccia
 
Scalable and Fault-Tolerant Apps with AWS
Scalable and Fault-Tolerant Apps with AWSScalable and Fault-Tolerant Apps with AWS
Scalable and Fault-Tolerant Apps with AWSFernando Rodriguez
 
Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...
Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...
Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...Amazon Web Services
 
AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings Adam Book
 
Programando sua infraestrutura com o AWS CloudFormation
Programando sua infraestrutura com o AWS CloudFormationProgramando sua infraestrutura com o AWS CloudFormation
Programando sua infraestrutura com o AWS CloudFormationAmazon Web Services LATAM
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWSAmazon Web Services
 
AWS Presents: Infrastructure as Code on AWS - ChefConf 2015
AWS Presents: Infrastructure as Code on AWS - ChefConf 2015AWS Presents: Infrastructure as Code on AWS - ChefConf 2015
AWS Presents: Infrastructure as Code on AWS - ChefConf 2015Chef
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWSAmazon Web Services
 
AWS Black Belt Online Seminar AWS CloudFormation アップデート
AWS Black Belt Online Seminar AWS CloudFormation アップデートAWS Black Belt Online Seminar AWS CloudFormation アップデート
AWS Black Belt Online Seminar AWS CloudFormation アップデートAmazon Web Services Japan
 
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and moreScaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and moreDropsolid
 
AWS CloudFormation Best Practices
AWS CloudFormation Best PracticesAWS CloudFormation Best Practices
AWS CloudFormation Best PracticesAmazon Web Services
 
12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH
12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH
12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECHZalando adtech lab
 
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...Henning Jacobs
 
Amazon ECS Container Service Deep Dive
Amazon ECS Container Service Deep DiveAmazon ECS Container Service Deep Dive
Amazon ECS Container Service Deep DiveAmazon Web Services
 
Self Service Agile Infrastructure for Product Teams - Pop-up Loft Tel Aviv
Self Service Agile Infrastructure for Product Teams - Pop-up Loft Tel AvivSelf Service Agile Infrastructure for Product Teams - Pop-up Loft Tel Aviv
Self Service Agile Infrastructure for Product Teams - Pop-up Loft Tel AvivAmazon Web Services
 
Utah Codecamp Cloud Computing
Utah Codecamp Cloud ComputingUtah Codecamp Cloud Computing
Utah Codecamp Cloud ComputingTom Creighton
 
AWS APAC Webinar Week - Launching Your First Big Data Project on AWS
AWS APAC Webinar Week - Launching Your First Big Data Project on AWSAWS APAC Webinar Week - Launching Your First Big Data Project on AWS
AWS APAC Webinar Week - Launching Your First Big Data Project on AWSAmazon Web Services
 
AWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAmazon Web Services
 
CloudFormation experience
CloudFormation experienceCloudFormation experience
CloudFormation experienceVitebsk Miniq
 

Ähnlich wie AWS CloudFormation templates for 3-tier VPC architecture (20)

Deployment and Management on AWS:
 A Deep Dive on Options and Tools
Deployment and Management on AWS:
 A Deep Dive on Options and ToolsDeployment and Management on AWS:
 A Deep Dive on Options and Tools
Deployment and Management on AWS:
 A Deep Dive on Options and Tools
 
Scalable and Fault-Tolerant Apps with AWS
Scalable and Fault-Tolerant Apps with AWSScalable and Fault-Tolerant Apps with AWS
Scalable and Fault-Tolerant Apps with AWS
 
Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...
Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...
Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...
 
AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings
 
Programando sua infraestrutura com o AWS CloudFormation
Programando sua infraestrutura com o AWS CloudFormationProgramando sua infraestrutura com o AWS CloudFormation
Programando sua infraestrutura com o AWS CloudFormation
 
Amazon ECS Deep Dive
Amazon ECS Deep DiveAmazon ECS Deep Dive
Amazon ECS Deep Dive
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
 
AWS Presents: Infrastructure as Code on AWS - ChefConf 2015
AWS Presents: Infrastructure as Code on AWS - ChefConf 2015AWS Presents: Infrastructure as Code on AWS - ChefConf 2015
AWS Presents: Infrastructure as Code on AWS - ChefConf 2015
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
 
AWS Black Belt Online Seminar AWS CloudFormation アップデート
AWS Black Belt Online Seminar AWS CloudFormation アップデートAWS Black Belt Online Seminar AWS CloudFormation アップデート
AWS Black Belt Online Seminar AWS CloudFormation アップデート
 
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and moreScaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
 
AWS CloudFormation Best Practices
AWS CloudFormation Best PracticesAWS CloudFormation Best Practices
AWS CloudFormation Best Practices
 
12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH
12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH
12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH
 
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
 
Amazon ECS Container Service Deep Dive
Amazon ECS Container Service Deep DiveAmazon ECS Container Service Deep Dive
Amazon ECS Container Service Deep Dive
 
Self Service Agile Infrastructure for Product Teams - Pop-up Loft Tel Aviv
Self Service Agile Infrastructure for Product Teams - Pop-up Loft Tel AvivSelf Service Agile Infrastructure for Product Teams - Pop-up Loft Tel Aviv
Self Service Agile Infrastructure for Product Teams - Pop-up Loft Tel Aviv
 
Utah Codecamp Cloud Computing
Utah Codecamp Cloud ComputingUtah Codecamp Cloud Computing
Utah Codecamp Cloud Computing
 
AWS APAC Webinar Week - Launching Your First Big Data Project on AWS
AWS APAC Webinar Week - Launching Your First Big Data Project on AWSAWS APAC Webinar Week - Launching Your First Big Data Project on AWS
AWS APAC Webinar Week - Launching Your First Big Data Project on AWS
 
AWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar Series
 
CloudFormation experience
CloudFormation experienceCloudFormation experience
CloudFormation experience
 

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
 

Kürzlich hochgeladen

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

AWS CloudFormation templates for 3-tier VPC architecture

  • 1. Simone Brunozzi Sr. Technology Evangelist, AWS @simon things you don’t know about Amazon Web Services5 1
  • 2. 01 AWS CLI Delete a bucket and all its content with just one command 2
  • 3. 3
  • 4. aws s3 rb s3://bucket-name --force 4
  • 5. 5
  • 6. 6
  • 7. 02 AWS CLI Recursive copy of a directory and its subfolders to Amazon S3 (and vice versa) 7
  • 8. 8
  • 9. aws s3 cp MyFolder s3://bucket-name -- recursive [--region us-west-2] 9
  • 11. Autoscaling Amazon S3 Amazon DynamoDB Amazon ELB (Elastic Load Balancing) Amazon Glacier Amazon EB (Elastic Beanstalk) Etc. 11
  • 12. 03 EC2 Autoscaling Automatically scale out EC2 within ELB (old version) 12
  • 13. Get the AS Command Line Tools: aws.amazon.com/developertools/2535 1) Launch config:AMI to be used 2) Autoscaling group: where/how to launch 3) Autoscaling policy: what should AS do? 4) Autoscaling trigger: what will activate AS 13 AutoScaling (AS): Four main components 13
  • 16. FILE: ec2.bat @echo off set EC2_HOME=c:ec2 set PATH=%PATH%;%EC2_HOME%bin set JAVA_HOME=C:Program FilesJavajre6 "%JAVA_HOME%binjava" -version set JAVA_HOME=C:Program Files (x86)Javajre6 (Windows 7) set EC2_PRIVATE_KEY=c:ec2PrivateKey.pem set EC2_CERT=c:ec2509Certificate.pem set AWS_AUTO_SCALING_HOME=c:ec2AutoScaling set AWS_CLOUDWATCH_HOME=c:ec2CloudWatch set PATH=%PATH%;%AWS_AUTO_SCALING_HOME%bin;%AWS_CLOUDWATCH_HOME%bin 16 Windows setup 16
  • 17. FILE: .bash_profile export EC2_HOME=~/ec2 export PATH=$PATH:$EC2_HOME/bin export EC2_PRIVATE_KEY=pk-[removed].pem export EC2_CERT=cert-[removed].pem export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/ export AWS_AUTO_SCALING_HOME=~/ec2/AutoScaling export AWS_CLOUDWATCH_HOME=~/ec2/CloudWatch export PATH=$PATH:$AWS_AUTO_SCALING_HOME/bin:$AWS_CLOUDWATCH_HOME/bin 17 Linux setup 17
  • 18. % as-version Amazon AutoScaling CLI version 1.0.61.3 (API 2011-01-01) 18 Test if it works 18
  • 19. STEP 1: Create Launch Config as-create-launch-config LC1 --image-id ami-31814f58 --instance-type m1.small [--region us-east-1] --group SG STEP 2:Autoscaling with ELB as-create-auto-scaling-group ASG1 --launch-configuration LC1 --availability- zones us-east-1b us-east-1c --min-size 2 --max-size 20 --load-balancers aws201 Check if group is created, any running EC2 as-describe-auto-scaling-groups --headers as-describe-auto-scaling-instances --headers 19 AutoScaling + ELB (1, 2) 19
  • 20. Scale in EC2 instances to ZERO, if needed as-update-auto-scaling-group ASG1 --min-size 0 --max-size 0 20 AutoScaling + ELB “Emergency break” 20
  • 21. STEP 3: Create Scaling Out Policy as-put-scaling-policy SOut1 --auto-scaling-group ASG1 --adjustment=1 --type ChangeInCapacity --cooldown 120 arn:aws:autoscaling:us- east-1:132891460296:scalingPolicy:a4a80ac4-3e3e-46a7-9b4a-72d893803618:autoSca lingGroupName/ASG1:policyName/SP1 21 AutoScaling + ELB (3) 21
  • 22. STEP 4: Create Metric Out Alarm mon-put-metric-alarm MOutA1 --comparison-operator GreaterThanThreshold -- evaluation-periods 1 --metric-name CPUUtilization --namespace "AWS/EC2" -- period 60 --statistic Average --threshold 70 --alarm-actions arn:aws:autoscaling:us- east-1:132891460296:scalingPolicy:a4a80ac4-3e3e-46a7-9b4a-72d893803618:autoSca lingGroupName/ASG1:policyName/SOut1 --dimensions "AutoScalingGroupName=ASG1" 22 AutoScaling + ELB (4) 22
  • 23. STEP 5: Create Scaling In Policy as-put-scaling-policy SInP1 --auto-scaling-group ASG1 --adjustment=-1 --type ChangeInCapacity --cooldown 120 arn:aws:autoscaling:us-east-1:132891460296:scalingPolicy:5ddb0046-a571-417f- b025-4268baf9d860:autoScalingGroupName/ASG1:policyName/SInP1 If you are using Windows, wrap the --adjustment parameter in quotation marks: "--adjustment=-1". 23 AutoScaling + ELB (5) 23
  • 24. STEP 6: Create Metric In Alarm mon-put-metric-alarm MInA1 --comparison-operator LessThanThreshold -- evaluation-periods 1 --metric-name CPUUtilization --namespace "AWS/EC2" -- period 60 --statistic Average --threshold 30 --alarm-actions arn:aws:autoscaling:us-east-1:132891460296:scalingPolicy:5ddb0046-a571-417f- b025-4268baf9d860:autoScalingGroupName/ASG1:policyName/SInP1 --dimensions "AutoScalingGroupName=ASG1" 24 AutoScaling + ELB (6) 24
  • 25. #!/bin/bash aws_instance=$(wget -q -O- http://169.254.169.254/latest/meta-data/instance- id) aws_region=$(wget -q -O- http://169.254.169.254/latest/meta-data/hostname) aws_region=${aws_region#*.} aws_region=${aws_region%%.*} aws_zone=`ec2-describe-instances $aws_instance --region $aws_region` aws_zone=`expr match "$aws_zone" ".*($aws_region[a-z])"` print "Instance: $aws_instance<br>Region: $aws_region<br>Availability Zone: $aws_zone<br><br>END" > index.html 25 Script you can use within each EC2 instance, at boot 25
  • 26. 03 EC2 Autoscaling Automatically scale out EC2 within ELB (NEW version) 26
  • 27. 27
  • 28. 04 EC2 metadata How to get details related to the EC2 machine that I’m running (PHP) 28
  • 29. 29
  • 30. 30
  • 31. 05 VPC + Cloudformation Using CF to create a 3- tier architecture within VPC. (first steps) 31
  • 32. { "AWSTemplateFormatVersion" : "2010-09-09", ! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture", ! "Parameters" : { ! ! "VpcCidr" : { ! ! ! "Description" : "CIDR for the VPC", ! ! ! "Type" : "String", ! ! ! "MinLength": "9", ! ! ! "MaxLength": "18", ! ! ! "Default" : "10.0.0.0/16", ! ! ! "AllowedPattern" : "(d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})/( d{1,2})", ! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/ x." ! ! } }, ! "Resources" : { "VPC" : { "Type" : "AWS::EC2::VPC", "Properties" : { "CidrBlock" : {"Ref" : "VpcCidr"}, "Tags" : [ {"Key" : "Application", "Value" : {"Ref" : "AWS::StackId"} } ] } } ! } } 32
  • 33. { "AWSTemplateFormatVersion" : "2010-09-09", ! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture", ! "Parameters" : { ! ! "VpcCidr" : { ! ! ! "Description" : "CIDR for the VPC", ! ! ! "Type" : "String", ! ! ! "MinLength": "9", ! ! ! "MaxLength": "18", ! ! ! "Default" : "10.0.0.0/16", ! ! ! "AllowedPattern" : "(d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})/( d{1,2})", ! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/ x." ! ! } }, ! "Resources" : { "VPC" : { "Type" : "AWS::EC2::VPC", "Properties" : { "CidrBlock" : {"Ref" : "VpcCidr"}, "Tags" : [ {"Key" : "Application", "Value" : {"Ref" : "AWS::StackId"} } ] } } ! } } Do you hate me? Too small? 33
  • 34. { "AWSTemplateFormatVersion" : "2010-09-09", ! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture", ! "Parameters" : { ! ! "VpcCidr" : { ! ! ! "Description" : "CIDR for the VPC", ! ! ! "Type" : "String", ! ! ! "MinLength": "9", ! ! ! "MaxLength": "18", ! ! ! "Default" : "10.0.0.0/16", ! ! ! "AllowedPattern" : "(d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})/( d{1,2})", ! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/ x." ! ! } }, ! "Resources" : { "VPC" : { "Type" : "AWS::EC2::VPC", "Properties" : { "CidrBlock" : {"Ref" : "VpcCidr"}, "Tags" : [ {"Key" : "Application", "Value" : {"Ref" : "AWS::StackId"} } ] } } ! } } 34
  • 35. { "AWSTemplateFormatVersion" : "2010-09-09", ! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture", ! "Parameters" : { ! ! "VpcCidr" : { ! ! ! "Description" : "CIDR for the VPC", ! ! ! "Type" : "String", ! ! ! "MinLength": "9", ! ! ! "MaxLength": "18", ! ! ! "Default" : "10.0.0.0/16", ! ! ! "AllowedPattern" : "(d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})/( d{1,2})", ! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/ x." ! ! } }, ! "Resources" : { "VPC" : { "Type" : "AWS::EC2::VPC", "Properties" : { "CidrBlock" : {"Ref" : "VpcCidr"}, "Tags" : [ {"Key" : "Application", "Value" : {"Ref" : "AWS::StackId"} } ] } } ! } } 35
  • 36. cfn-create-stack CustomerLittleNetwork --tag "Key=env; Value=temp" --template-file stack_cfn_learn_001_vpc_step1.template cfn-describe-stacks cfn-describe-stacks CustomerLittleNetwork cfn-list-stack-resources CustomerLittleNetwork 36
  • 37. 37
  • 38. 38
  • 40. { "AWSTemplateFormatVersion" : "2010-09-09", ! "Description": "Creates a Multi-AZ VPC with subnets for a three tier architecture", ! "Parameters" : { ! ! "VpcCidr" : { 40
  • 41. "Parameters" : { ! ! "VpcCidr" : { ! ! ! "Description" : "CIDR for the VPC", ! ! ! "Type" : "String", ! ! ! "MinLength": "9", ! ! ! "MaxLength": "18", ! ! ! "Default" : "10.0.0.0/16", ! ! ! "AllowedPattern" : "(d{1,3}).( d{1,3}).(d{1,3}).(d{1,3})/(d{1,2})", ! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/x." ! ! }, 41
  • 42. ! ! "PublicSubnetCidrA" : { ! ! ! "Description" : "Subnet for public resources in the first AZ", ! ! ! "Type" : "String", ! ! ! "MinLength": "9", ! ! ! "MaxLength": "18", ! ! ! "Default" : "10.0.1.0/24", ! ! ! "AllowedPattern" : "(d{1,3}).( d{1,3}).(d{1,3}).(d{1,3})/(d{1,2})", ! ! ! "ConstraintDescription" : "must be a valid CIDR range of the form x.x.x.x/x." ! ! }, 42
  • 43. 43
  • 45. 45
  • 46. 07 Custom errors Enabling custom error pages on CloudFront 46
  • 47. 47
  • 48. 48
  • 49. 49
  • 50. 08 ZFS on Amazon EC2 How to install and run ZFS on Amazon EC2 (yes, you can!) Thanks to: Constantin Gonzalez Dougal Ballantyne (demo coming soon) 50
  • 51. What is ZFS? ZFS is a file system + logical volume manager. Features: - protection against data corruption - support for high storage capacities - integration of filesystem and volume management - snapshots and copy-on-write clones - continuous integrity checking and automatic repair - RAID-Z - native NFSv4 ACLs. OpenZFS is an Open Source implementation of it. 51
  • 52. How can I use it? Launch an EC2 instance with an AMI which supports ZFS. 1) Linux 2) OmniOS (native ZFS support based on a fork of the original OpenSolaris project that open-sourced ZFS) 3) FreeBSD (native ZFS support based on a port of the OpenSolaris ZFS code) 52
  • 56. And now what? It works the same as with any other hardware platform: 1) Attach a few EBS volumes to your EC2 instance; 2) use them as you would use regular disks with ZFS An example follows. 56
  • 57. $ sudo modprobe zfs [attach 3 EBS volumes to the instance] $ sudo zpool create test raidz sdf sdg sdh $ sudo zpool status pool: test state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM test ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 sdf ONLINE 0 0 0 sdg ONLINE 0 0 0 sdh ONLINE 0 0 0 errors: No known data errors 57
  • 58. $ mount /dev/xvda1 on / type ext4 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) test on /test type zfs (rw,xattr) $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G 1.6G 6.3G 20% / tmpfs 15G 0 15G 0% /dev/shm test 196G 0 196G 0% /test 58
  • 59. What can I do with ZFS? Many things! Here’s one example: Use an EBS Provisioned IOPS volumes as ZFS cache and log (ZIL) devices to accelerate your zpools. This works much like you would use SSDs in the real world to accelerate ZFS reads and writes. For instance, you could provision an EBS volume with 1000 IOPS and use it as a ZIL device for your zpool in order to accelerate database writes. 59
  • 61. 09 Extra stuff Friends, nice people, cool things, etc. 61
  • 62. 62
  • 63. 63
  • 64. 64
  • 65. 65
  • 66. 66
  • 68. Simone Brunozzi Sr. Technology Evangelist, AWS @simon things you don’t know about Amazon Web Services5 68