SlideShare a Scribd company logo
AWS Fun
A short bit of history
● Not that long ago, a "server" was :
○ One piece of hardware
○ One operating system
○ Physically racked, powered, networked in a
managed datacenter
● People started playing with "virtualization"
○ One piece of hardware
○ Multiple operating systems running independently
○ Physically racked, powered, networked in a
managed datacenter
As virtualization was taking off...
● Mid-2000's, Amazon.com buys a TON of
hardware.
● The mantra for the folks building Amazon.
com infrastructure:
Provide service style endpoint access to
infrastructure management for internal use.
EVERYTHING IS AN API
At the same
time....
Marketing depts
everywhere go
to town, as
marketing does...
VIRTUALIZE
IT
ALL!!!!
Amazon Realizes...
If we run the virtual server hosts...
And we just open up our internal infrastructure
API's to end users...
$$$$$$$$$$$$$$$$$$$$$$$$$$
Marketing took over,
now everything is Cloud.
By Cloud, I mean....
● Must be distributed.
● Must be programatically accessible
● Is multi-tenanted (you are not the only user
of the hardware)
In general, what is AWS?
● A collection of commonly used pieces of
software, made easily accessible in:
○ Distributed environment: Multiple Availability zones
per region, multiple regions
○ Programatically accessible infrastructure
For example: Mysql, MS SQL, Memcached, Linux,
Windows,
CDN, DNS Management, User/Admin management,
Firewalls, Load balancers...
Common components
of infrastructure
in your old datacenter
Common components
of infrastructure
in AWS
Some of what this buys us
● We can spin up replica environments
● Easier functional testing...in STAGING
● Load test against prod without touching prod
● Build in automated deployments and testing,
making pushing to prod a breeze for all
devs.
● This makes the feedback loop tighter, faster,
and keeps changes and their inevitable bugs
more in context
● This all wraps up to make you, the devs,
more confident to try new things.
Controlling all of that infrastructure
Lots of configuration management
options....
● Chef (Opscode)
● Puppet (What I use)
● AMI's (Server images)
● Cloudformation (AWS Service)
But wait...isn't the cloud dangerous?
● Yes! Just as dangerous as your datacenter
● Secrets stores in S3, managed by puppet
● Each app has its own key, security groups
● Managing security via security groups, ssh
keys
General scaling on AWS
● Use autoscale groups (even if you never
have to autoscale)
● You can trigger autoscaling on any metric
● Use EBS and instance store autoscale
groups
○ 30 seconds to "traffic ready" prebuilt EBS instance
vs. 2-10 min for a instance store
○ Keep a baseline # of instance store nodes, for when
EBS has issues.
○ You can have multiple autoscale groups load into
one ELB (so, app-ebs-fastscale-group and app-
instancestore-noscale-group)
General scaling on AWS
● For high IO data (RDS or self-managed
EC2), use provisioned IOPS.
● On EC2, EBS volumes can be RAID10'd...
need a 50k IOPS volume? :D Great way to
vertically scale.
●
General scaling on AWS
● Adhere to 12factor.net rules so you can
horiziontally scale
○ CNAME all resources, such as mysql servers. If you
can easily move a resource, you can easily vertically
scale it elsewhere and move to it.
○ Store dependent content away from web tier nodes,
ie media, user uploads. If a web node dies and you
lost anything, you did it wrong.
○ All pieces of app modular, independently scalable
and revvable without retooling
General High Availability on AWS
● Multi-Region (Each region has multiple AZ's)
● Multi-Availability Zone for
○ RDS (built in) (takes ~3 min to failover)
○ Load balancing
○ Autoscaling groups (3 AZ's recommended)
● Dynamic DNS
● Health Checks on apps
General High Availability on AWS
● Mix in instance store baseline with EBS for
fast scaling for when EBS has issues.
● Health Checks on apps
● Status updates to S3 file, updates app to
point to failover resources... No db? Write
to a SQS queue!
● Oh yeah, use a lot of SQS!
CNAME for all the resources (12-
factor friendly)
Easier to move, failover, rebuild
RDS Tricks
● Multi-AZ, takes ~3 min to failover
● EBS volumes of greater storage get better
performance, always use 300gb for prod,
even for small instances.
● Read slaves have a lot of challenges with
schema changes. It is usually faster to just
rebuild slaves
● For monitoring, grant repl client to user
Some other tricks
● ELB's are EBS-backed EC2 Instances...when EBS
alerts go out, be careful!
● Setup ifttt alerts for AWS RSS status updates
● Use New Relic. Please!
● IAM Roles allow for interaction with AWS
infrastructure...think, a monitoring server that tells an
autoscale group to respond to a problem by launching
new nodes
● Route53 is awesome. Alias A records, super reliable,
you can keep low ttl's
Pay Amazon Less
● Reserved instances can save a lot of money
● Spot instances are great for batch and
processing, EMR, Cluster Compute
● S3 static hosting is ridiculously inexpensive.
Go that route for anything static.
● For dev work, Heroku is great, no cost for
apps that do not scale
Other random advice...
Good stuff
● http://www.12factor.net/
● http://paulstamatiou.com/how-to-getting-started-with-
amazon-ec2
● http://loggly.com/blog/2011/05/send-custom-metrics-to-
cloudwatchs-api/
● https://github.com/toolness/fleeting
● AWS Marketplace has a lot of good stuff
● My example repos: https://github.
com/mozilla/sys_config_examples and https://github.
com/mozilla/sys_scripts_examples
● https://help.ubuntu.com/community/CloudInit
● http://awsofa.info/
●
Demo time (if there is time)
-Building a new autoscale group/app?
-Managing infrastructure via fabric, jenkins,
puppet
-Show off the puppet systems config setup?

More Related Content

What's hot

JHipster on AWS
JHipster on AWSJHipster on AWS
JHipster on AWS
Gerard Gigliotti
 
(MED304) The Future of Rendering: A Complete VFX Studio in the AWS Cloud | AW...
(MED304) The Future of Rendering: A Complete VFX Studio in the AWS Cloud | AW...(MED304) The Future of Rendering: A Complete VFX Studio in the AWS Cloud | AW...
(MED304) The Future of Rendering: A Complete VFX Studio in the AWS Cloud | AW...
Amazon Web Services
 
Chugalug
ChugalugChugalug
Chugalug
jwallace41
 
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
Amazon Web Services
 
Axemblr Provisionr 0.3.x Overview
Axemblr Provisionr 0.3.x OverviewAxemblr Provisionr 0.3.x Overview
Axemblr Provisionr 0.3.x Overview
Andrei Savu
 
Benchmarking, Load Testing, and Preventing Terrible Disasters
Benchmarking, Load Testing, and Preventing Terrible DisastersBenchmarking, Load Testing, and Preventing Terrible Disasters
Benchmarking, Load Testing, and Preventing Terrible Disasters
MongoDB
 
Pillai Pradeep - Global Rendering Customer Cases :: AWS Rendering Seminar -
Pillai Pradeep - Global Rendering Customer Cases :: AWS Rendering Seminar - Pillai Pradeep - Global Rendering Customer Cases :: AWS Rendering Seminar -
Pillai Pradeep - Global Rendering Customer Cases :: AWS Rendering Seminar -
Amazon Web Services Korea
 
Ec2onrails
Ec2onrailsEc2onrails
Ec2onrails
Yi-Ting Cheng
 
AWS re:Invent re:Cap - 새로운 관계형 데이터베이스 엔진: Amazon Aurora - 양승도
AWS re:Invent re:Cap - 새로운 관계형 데이터베이스 엔진: Amazon Aurora - 양승도AWS re:Invent re:Cap - 새로운 관계형 데이터베이스 엔진: Amazon Aurora - 양승도
AWS re:Invent re:Cap - 새로운 관계형 데이터베이스 엔진: Amazon Aurora - 양승도
Amazon Web Services Korea
 
Training Slides: Introduction To Tungsten Solutions
Training Slides: Introduction To Tungsten SolutionsTraining Slides: Introduction To Tungsten Solutions
Training Slides: Introduction To Tungsten Solutions
Continuent
 
Scaling Django for X Factor - DJUGL Oct 2012
Scaling Django for X Factor - DJUGL Oct 2012Scaling Django for X Factor - DJUGL Oct 2012
Scaling Django for X Factor - DJUGL Oct 2012
Malcolm Box
 
Gaming on AWS - 2. Amazon Aurora 100% 활용하기 - 신규 기능 및 이전 방법 시연
Gaming on AWS - 2. Amazon Aurora 100% 활용하기 - 신규 기능 및 이전 방법 시연Gaming on AWS - 2. Amazon Aurora 100% 활용하기 - 신규 기능 및 이전 방법 시연
Gaming on AWS - 2. Amazon Aurora 100% 활용하기 - 신규 기능 및 이전 방법 시연
Amazon Web Services Korea
 
A brief introduction to CloudFormation
A brief introduction to CloudFormationA brief introduction to CloudFormation
A brief introduction to CloudFormation
SWIFTotter Solutions
 
Amazon EC2
Amazon EC2Amazon EC2
Amazon EC2
Matthew Porter
 
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
Budianto Tandianus
 
AWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS CloudAWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS Cloud
Amazon Web Services
 
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
Amazon Web Services
 
High Performance MongoDB on Storage-Optimized AWS EC2
High Performance MongoDB on Storage-Optimized AWS EC2High Performance MongoDB on Storage-Optimized AWS EC2
High Performance MongoDB on Storage-Optimized AWS EC2
MongoDB
 
IP Multicast on ec2
IP Multicast on ec2IP Multicast on ec2
IP Multicast on ec2
Kenta Yasukawa
 
Scaling drupal on amazon web services dr
Scaling drupal on amazon web services drScaling drupal on amazon web services dr
Scaling drupal on amazon web services dr
Tristan Roddis
 

What's hot (20)

JHipster on AWS
JHipster on AWSJHipster on AWS
JHipster on AWS
 
(MED304) The Future of Rendering: A Complete VFX Studio in the AWS Cloud | AW...
(MED304) The Future of Rendering: A Complete VFX Studio in the AWS Cloud | AW...(MED304) The Future of Rendering: A Complete VFX Studio in the AWS Cloud | AW...
(MED304) The Future of Rendering: A Complete VFX Studio in the AWS Cloud | AW...
 
Chugalug
ChugalugChugalug
Chugalug
 
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
 
Axemblr Provisionr 0.3.x Overview
Axemblr Provisionr 0.3.x OverviewAxemblr Provisionr 0.3.x Overview
Axemblr Provisionr 0.3.x Overview
 
Benchmarking, Load Testing, and Preventing Terrible Disasters
Benchmarking, Load Testing, and Preventing Terrible DisastersBenchmarking, Load Testing, and Preventing Terrible Disasters
Benchmarking, Load Testing, and Preventing Terrible Disasters
 
Pillai Pradeep - Global Rendering Customer Cases :: AWS Rendering Seminar -
Pillai Pradeep - Global Rendering Customer Cases :: AWS Rendering Seminar - Pillai Pradeep - Global Rendering Customer Cases :: AWS Rendering Seminar -
Pillai Pradeep - Global Rendering Customer Cases :: AWS Rendering Seminar -
 
Ec2onrails
Ec2onrailsEc2onrails
Ec2onrails
 
AWS re:Invent re:Cap - 새로운 관계형 데이터베이스 엔진: Amazon Aurora - 양승도
AWS re:Invent re:Cap - 새로운 관계형 데이터베이스 엔진: Amazon Aurora - 양승도AWS re:Invent re:Cap - 새로운 관계형 데이터베이스 엔진: Amazon Aurora - 양승도
AWS re:Invent re:Cap - 새로운 관계형 데이터베이스 엔진: Amazon Aurora - 양승도
 
Training Slides: Introduction To Tungsten Solutions
Training Slides: Introduction To Tungsten SolutionsTraining Slides: Introduction To Tungsten Solutions
Training Slides: Introduction To Tungsten Solutions
 
Scaling Django for X Factor - DJUGL Oct 2012
Scaling Django for X Factor - DJUGL Oct 2012Scaling Django for X Factor - DJUGL Oct 2012
Scaling Django for X Factor - DJUGL Oct 2012
 
Gaming on AWS - 2. Amazon Aurora 100% 활용하기 - 신규 기능 및 이전 방법 시연
Gaming on AWS - 2. Amazon Aurora 100% 활용하기 - 신규 기능 및 이전 방법 시연Gaming on AWS - 2. Amazon Aurora 100% 활용하기 - 신규 기능 및 이전 방법 시연
Gaming on AWS - 2. Amazon Aurora 100% 활용하기 - 신규 기능 및 이전 방법 시연
 
A brief introduction to CloudFormation
A brief introduction to CloudFormationA brief introduction to CloudFormation
A brief introduction to CloudFormation
 
Amazon EC2
Amazon EC2Amazon EC2
Amazon EC2
 
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
 
AWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS CloudAWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS Cloud
 
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
 
High Performance MongoDB on Storage-Optimized AWS EC2
High Performance MongoDB on Storage-Optimized AWS EC2High Performance MongoDB on Storage-Optimized AWS EC2
High Performance MongoDB on Storage-Optimized AWS EC2
 
IP Multicast on ec2
IP Multicast on ec2IP Multicast on ec2
IP Multicast on ec2
 
Scaling drupal on amazon web services dr
Scaling drupal on amazon web services drScaling drupal on amazon web services dr
Scaling drupal on amazon web services dr
 

Viewers also liked

Guide - Migrating from Heroku to AWS using CloudFormation
Guide - Migrating from Heroku to AWS using CloudFormationGuide - Migrating from Heroku to AWS using CloudFormation
Guide - Migrating from Heroku to AWS using CloudFormation
Rob Linton
 
Cloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWSCloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWS
Amine Sadry
 
From Heroku to Amazon AWS
From Heroku to Amazon AWSFrom Heroku to Amazon AWS
From Heroku to Amazon AWS
Sebastian Schleicher
 
AWS Intro & History
AWS Intro & HistoryAWS Intro & History
AWS Intro & History
Amazon Web Services
 
AWS re:Invent 2016: Automating Workflows for Analytics Pipelines (DEV401)
AWS re:Invent 2016: Automating Workflows for Analytics Pipelines (DEV401)AWS re:Invent 2016: Automating Workflows for Analytics Pipelines (DEV401)
AWS re:Invent 2016: Automating Workflows for Analytics Pipelines (DEV401)
Amazon Web Services
 
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
Amazon Web Services
 
Migrate and Manage Workloads with Apps Associates
Migrate and Manage Workloads with Apps AssociatesMigrate and Manage Workloads with Apps Associates
Migrate and Manage Workloads with Apps Associates
Amazon Web Services
 

Viewers also liked (7)

Guide - Migrating from Heroku to AWS using CloudFormation
Guide - Migrating from Heroku to AWS using CloudFormationGuide - Migrating from Heroku to AWS using CloudFormation
Guide - Migrating from Heroku to AWS using CloudFormation
 
Cloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWSCloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWS
 
From Heroku to Amazon AWS
From Heroku to Amazon AWSFrom Heroku to Amazon AWS
From Heroku to Amazon AWS
 
AWS Intro & History
AWS Intro & HistoryAWS Intro & History
AWS Intro & History
 
AWS re:Invent 2016: Automating Workflows for Analytics Pipelines (DEV401)
AWS re:Invent 2016: Automating Workflows for Analytics Pipelines (DEV401)AWS re:Invent 2016: Automating Workflows for Analytics Pipelines (DEV401)
AWS re:Invent 2016: Automating Workflows for Analytics Pipelines (DEV401)
 
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
 
Migrate and Manage Workloads with Apps Associates
Migrate and Manage Workloads with Apps AssociatesMigrate and Manage Workloads with Apps Associates
Migrate and Manage Workloads with Apps Associates
 

Similar to AWS Intro for Knight News Fellows

AWS Certified Solutions Architect Associate Notes.pdf
AWS Certified Solutions Architect Associate Notes.pdfAWS Certified Solutions Architect Associate Notes.pdf
AWS Certified Solutions Architect Associate Notes.pdf
fayoyiwababajide
 
Amazon web services : Layman Introduction
Amazon web services : Layman IntroductionAmazon web services : Layman Introduction
Amazon web services : Layman Introduction
Parashar Borkotoky
 
Cloud computing & lamp applications
Cloud computing & lamp applicationsCloud computing & lamp applications
Cloud computing & lamp applications
Corley S.r.l.
 
AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2) AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2)
zekeLabs Technologies
 
Scylla Summit 2018: Meshify - A Case Study, or Petshop Seamonsters
Scylla Summit 2018: Meshify - A Case Study, or Petshop SeamonstersScylla Summit 2018: Meshify - A Case Study, or Petshop Seamonsters
Scylla Summit 2018: Meshify - A Case Study, or Petshop Seamonsters
ScyllaDB
 
AWS Bulgaria: Re:invent 2017 Recap
AWS Bulgaria: Re:invent 2017 RecapAWS Bulgaria: Re:invent 2017 Recap
AWS Bulgaria: Re:invent 2017 Recap
Ivaylo Bratoev
 
X1 Dev Club - Amazon EC2 et al.
X1 Dev Club - Amazon EC2 et al.X1 Dev Club - Amazon EC2 et al.
X1 Dev Club - Amazon EC2 et al.
Serge Kovaleff
 
Amazon Aurora
Amazon AuroraAmazon Aurora
Amazon Aurora
Amazon Web Services
 
AWS Lambda and Serverless Cloud
AWS Lambda and Serverless CloudAWS Lambda and Serverless Cloud
AWS Lambda and Serverless Cloud
Amazon Web Services
 
AWS.doc
AWS.docAWS.doc
AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...
AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...
AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...
Kiran Kumar Malik
 
Amazon Clouds in Action
Amazon Clouds in ActionAmazon Clouds in Action
Amazon Clouds in Action
zenyk
 
Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)
Amazon Web Services
 
Ansible + Amazon AWS talk installfest.cz 2016
Ansible + Amazon AWS talk installfest.cz 2016Ansible + Amazon AWS talk installfest.cz 2016
Ansible + Amazon AWS talk installfest.cz 2016
David Karban
 
Corley scalability
Corley scalabilityCorley scalability
Corley scalability
Corley S.r.l.
 
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Nicolas Brousse
 
Aws platform overview
Aws platform overviewAws platform overview
Aws platform overview
Vinay Yelluri
 
Aws platform overview
Aws platform overviewAws platform overview
Aws platform overview
Vinay Yelluri
 
AWS Customer Presentation - AdaptiveBlue
AWS Customer Presentation - AdaptiveBlueAWS Customer Presentation - AdaptiveBlue
AWS Customer Presentation - AdaptiveBlue
Amazon Web Services
 
MongoDB Management & Ansible
MongoDB Management & AnsibleMongoDB Management & Ansible
MongoDB Management & Ansible
MongoDB
 

Similar to AWS Intro for Knight News Fellows (20)

AWS Certified Solutions Architect Associate Notes.pdf
AWS Certified Solutions Architect Associate Notes.pdfAWS Certified Solutions Architect Associate Notes.pdf
AWS Certified Solutions Architect Associate Notes.pdf
 
Amazon web services : Layman Introduction
Amazon web services : Layman IntroductionAmazon web services : Layman Introduction
Amazon web services : Layman Introduction
 
Cloud computing & lamp applications
Cloud computing & lamp applicationsCloud computing & lamp applications
Cloud computing & lamp applications
 
AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2) AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2)
 
Scylla Summit 2018: Meshify - A Case Study, or Petshop Seamonsters
Scylla Summit 2018: Meshify - A Case Study, or Petshop SeamonstersScylla Summit 2018: Meshify - A Case Study, or Petshop Seamonsters
Scylla Summit 2018: Meshify - A Case Study, or Petshop Seamonsters
 
AWS Bulgaria: Re:invent 2017 Recap
AWS Bulgaria: Re:invent 2017 RecapAWS Bulgaria: Re:invent 2017 Recap
AWS Bulgaria: Re:invent 2017 Recap
 
X1 Dev Club - Amazon EC2 et al.
X1 Dev Club - Amazon EC2 et al.X1 Dev Club - Amazon EC2 et al.
X1 Dev Club - Amazon EC2 et al.
 
Amazon Aurora
Amazon AuroraAmazon Aurora
Amazon Aurora
 
AWS Lambda and Serverless Cloud
AWS Lambda and Serverless CloudAWS Lambda and Serverless Cloud
AWS Lambda and Serverless Cloud
 
AWS.doc
AWS.docAWS.doc
AWS.doc
 
AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...
AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...
AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...
 
Amazon Clouds in Action
Amazon Clouds in ActionAmazon Clouds in Action
Amazon Clouds in Action
 
Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)
 
Ansible + Amazon AWS talk installfest.cz 2016
Ansible + Amazon AWS talk installfest.cz 2016Ansible + Amazon AWS talk installfest.cz 2016
Ansible + Amazon AWS talk installfest.cz 2016
 
Corley scalability
Corley scalabilityCorley scalability
Corley scalability
 
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
 
Aws platform overview
Aws platform overviewAws platform overview
Aws platform overview
 
Aws platform overview
Aws platform overviewAws platform overview
Aws platform overview
 
AWS Customer Presentation - AdaptiveBlue
AWS Customer Presentation - AdaptiveBlueAWS Customer Presentation - AdaptiveBlue
AWS Customer Presentation - AdaptiveBlue
 
MongoDB Management & Ansible
MongoDB Management & AnsibleMongoDB Management & Ansible
MongoDB Management & Ansible
 

Recently uploaded

Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
Dinusha Kumarasiri
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 

Recently uploaded (20)

Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 

AWS Intro for Knight News Fellows

  • 2. A short bit of history ● Not that long ago, a "server" was : ○ One piece of hardware ○ One operating system ○ Physically racked, powered, networked in a managed datacenter ● People started playing with "virtualization" ○ One piece of hardware ○ Multiple operating systems running independently ○ Physically racked, powered, networked in a managed datacenter
  • 3. As virtualization was taking off... ● Mid-2000's, Amazon.com buys a TON of hardware. ● The mantra for the folks building Amazon. com infrastructure: Provide service style endpoint access to infrastructure management for internal use. EVERYTHING IS AN API
  • 4. At the same time.... Marketing depts everywhere go to town, as marketing does... VIRTUALIZE IT ALL!!!!
  • 5. Amazon Realizes... If we run the virtual server hosts... And we just open up our internal infrastructure API's to end users...
  • 7. Marketing took over, now everything is Cloud.
  • 8. By Cloud, I mean.... ● Must be distributed. ● Must be programatically accessible ● Is multi-tenanted (you are not the only user of the hardware)
  • 9. In general, what is AWS? ● A collection of commonly used pieces of software, made easily accessible in: ○ Distributed environment: Multiple Availability zones per region, multiple regions ○ Programatically accessible infrastructure For example: Mysql, MS SQL, Memcached, Linux, Windows, CDN, DNS Management, User/Admin management, Firewalls, Load balancers...
  • 12. Some of what this buys us ● We can spin up replica environments ● Easier functional testing...in STAGING ● Load test against prod without touching prod ● Build in automated deployments and testing, making pushing to prod a breeze for all devs. ● This makes the feedback loop tighter, faster, and keeps changes and their inevitable bugs more in context ● This all wraps up to make you, the devs, more confident to try new things.
  • 13. Controlling all of that infrastructure
  • 14. Lots of configuration management options.... ● Chef (Opscode) ● Puppet (What I use) ● AMI's (Server images) ● Cloudformation (AWS Service)
  • 15.
  • 16. But wait...isn't the cloud dangerous? ● Yes! Just as dangerous as your datacenter ● Secrets stores in S3, managed by puppet ● Each app has its own key, security groups ● Managing security via security groups, ssh keys
  • 17.
  • 18. General scaling on AWS ● Use autoscale groups (even if you never have to autoscale) ● You can trigger autoscaling on any metric ● Use EBS and instance store autoscale groups ○ 30 seconds to "traffic ready" prebuilt EBS instance vs. 2-10 min for a instance store ○ Keep a baseline # of instance store nodes, for when EBS has issues. ○ You can have multiple autoscale groups load into one ELB (so, app-ebs-fastscale-group and app- instancestore-noscale-group)
  • 19. General scaling on AWS ● For high IO data (RDS or self-managed EC2), use provisioned IOPS. ● On EC2, EBS volumes can be RAID10'd... need a 50k IOPS volume? :D Great way to vertically scale. ●
  • 20. General scaling on AWS ● Adhere to 12factor.net rules so you can horiziontally scale ○ CNAME all resources, such as mysql servers. If you can easily move a resource, you can easily vertically scale it elsewhere and move to it. ○ Store dependent content away from web tier nodes, ie media, user uploads. If a web node dies and you lost anything, you did it wrong. ○ All pieces of app modular, independently scalable and revvable without retooling
  • 21.
  • 22. General High Availability on AWS ● Multi-Region (Each region has multiple AZ's) ● Multi-Availability Zone for ○ RDS (built in) (takes ~3 min to failover) ○ Load balancing ○ Autoscaling groups (3 AZ's recommended) ● Dynamic DNS ● Health Checks on apps
  • 23. General High Availability on AWS ● Mix in instance store baseline with EBS for fast scaling for when EBS has issues. ● Health Checks on apps ● Status updates to S3 file, updates app to point to failover resources... No db? Write to a SQS queue! ● Oh yeah, use a lot of SQS!
  • 24.
  • 25.
  • 26.
  • 27. CNAME for all the resources (12- factor friendly)
  • 28. Easier to move, failover, rebuild
  • 29. RDS Tricks ● Multi-AZ, takes ~3 min to failover ● EBS volumes of greater storage get better performance, always use 300gb for prod, even for small instances. ● Read slaves have a lot of challenges with schema changes. It is usually faster to just rebuild slaves ● For monitoring, grant repl client to user
  • 30. Some other tricks ● ELB's are EBS-backed EC2 Instances...when EBS alerts go out, be careful! ● Setup ifttt alerts for AWS RSS status updates ● Use New Relic. Please! ● IAM Roles allow for interaction with AWS infrastructure...think, a monitoring server that tells an autoscale group to respond to a problem by launching new nodes ● Route53 is awesome. Alias A records, super reliable, you can keep low ttl's
  • 31. Pay Amazon Less ● Reserved instances can save a lot of money ● Spot instances are great for batch and processing, EMR, Cluster Compute ● S3 static hosting is ridiculously inexpensive. Go that route for anything static. ● For dev work, Heroku is great, no cost for apps that do not scale
  • 33. Good stuff ● http://www.12factor.net/ ● http://paulstamatiou.com/how-to-getting-started-with- amazon-ec2 ● http://loggly.com/blog/2011/05/send-custom-metrics-to- cloudwatchs-api/ ● https://github.com/toolness/fleeting ● AWS Marketplace has a lot of good stuff ● My example repos: https://github. com/mozilla/sys_config_examples and https://github. com/mozilla/sys_scripts_examples ● https://help.ubuntu.com/community/CloudInit ● http://awsofa.info/ ●
  • 34. Demo time (if there is time) -Building a new autoscale group/app? -Managing infrastructure via fabric, jenkins, puppet -Show off the puppet systems config setup?