SlideShare a Scribd company logo
High Availability with AWS OpsWorks
shane.davis@linkdigital.com.au
@link_sdm
SHANE DAVIS
Lead Architect ANZ
Introduction 2
Link Digital
Service Delivery Manager
Lead Architect ANZ
Data Shades
Key Contributor
AWS User Group
CBR Organiser
PCs and Pet Mentality 3
Cute, precious and adorable
Not scalable
Timely to set up
The Computing Evolution 4
• Desktop PCs
• Server in a cupboard
• Virtualisation
• Virtual Dedicated Servers
• Cloud Computing
Cloud Benefits 5
• Low Cost
• Agile
• Easily Managed
Cents per hour to run
Pay for what you use
Scales up and down easily
Point and Click:
• Provisioning
• Monitoring
• Management
6Cloud Tricks
Scalability
Automation
Orchestration
7The Orchestration Journey
Bash/Python scripts
CLI: Command Line
Interface
Orchestration Suites
8Why OpsWorks?
Templates Build Stacks
Serverless
Iterative
Consistent
Transparent Design
Access Management
Clone capable
9OpsWorks Design
Layers
Instances
Time Based
Load Based
Apps
Deployments
Monitoring
Resources
Permissions
Instances can belong
to 1 or more layers
Separate Instances out later
• App Source
• Data Source
• Domains
• SSL
App Definition
Deploy to one
or more layers
Recipes perform:
• Setup
• Configure
• Deploy
• Undeploy
• Shutdown
10HA Design Tips
Disposable Nodes
Truly HA = no pets
Versatile Recipes
• Able to manage failed states
• Capable of upgrades
• Adaptive and aware
Dynamic Resources
Don’t paint the cogs
11HA Considerations
• Use AWS Services when possible
• Use self hosted services as a bridge
• Use Route53 Failover and Health checks
12Scaling Options
Bare Metal Deploy
AMI + Autoscale Group
Latest versions
Failure risks
Slower Deployment
No setup
No Updates
Faster Deployment
AMI + Deploy
Failsafe setup
Fast Deployment
Latest versions
13Main Take Away
• The Real Magic is in the sauce (recipe)
• Dynamic is the key - stateless, non-static
• Iteration is the way forward. Build & Improve

More Related Content

PDF
Zenyk Matchyshyn "Doing Machine Learning on Amazon Stack"
PDF
Go Serverless - Golang NE February 2018
PDF
Automating Cloud Operations: Tips from Managed Services
PPTX
Exploring Opensource on Microsoft Azure
PPTX
Using AWS Lambda for Infrastructure Automation and Beyond
PDF
Introduction to Serverless
PDF
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
PPT
Dave Nielsen - the economically unstoppable cloud
Zenyk Matchyshyn "Doing Machine Learning on Amazon Stack"
Go Serverless - Golang NE February 2018
Automating Cloud Operations: Tips from Managed Services
Exploring Opensource on Microsoft Azure
Using AWS Lambda for Infrastructure Automation and Beyond
Introduction to Serverless
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
Dave Nielsen - the economically unstoppable cloud

What's hot (13)

PDF
Serverless Framework (2018)
PDF
Why Not Public Cloud?
PDF
AWS Lambda
PPTX
Rapid Prototyping for Big Data with AWS
PDF
How IT at Getty Images Brokers Cloud Services
PPTX
Scalable Application Development on AWS
PDF
An Introduction to Microservices
PDF
Continuous Delivery: How RightScale Releases Weekly
PPTX
Serverless computing
PPTX
Cloud computing ppt.
PDF
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
PDF
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
PPTX
Using Terraform for AWS as the IaC tool
Serverless Framework (2018)
Why Not Public Cloud?
AWS Lambda
Rapid Prototyping for Big Data with AWS
How IT at Getty Images Brokers Cloud Services
Scalable Application Development on AWS
An Introduction to Microservices
Continuous Delivery: How RightScale Releases Weekly
Serverless computing
Cloud computing ppt.
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
Using Terraform for AWS as the IaC tool
Ad

Similar to HA With AWS OpsWorks (20)

PDF
OpsWorks Co. Presentation
PPTX
Aws ops works
PPTX
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
PPTX
How to Architect AWS for Mission-Critical Applications
PDF
Being Well Architected in the Cloud
PDF
Enabling your DevOps culture with AWS-webinar
PDF
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
PDF
Aws cloud best_practices
PPTX
High Availability in the Cloud - Architectural Best Practices
PDF
How to address operational aspects effectively with Agile practices - Matthew...
PDF
Aws cloud best_practices
PPTX
How Easy to Automate Application Deployment on AWS
PPTX
Continuous Deployment with Amazon Web Services by Carlos Conde
PPTX
Asif Malik - Developer Lifecycle Automation in the Cloud
PPTX
Agility and Control from AWS [FutureStack16]
PPTX
AWS Cloud For Breakfast - Building Microservices in the Cloud
PPTX
Cloudjiffy vs AWS ops works
PDF
_Preparation Tips AWS Solution Architect.pdf
PDF
OSOM Operations in the Cloud
PDF
OSOM - Operations in the Cloud
OpsWorks Co. Presentation
Aws ops works
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
How to Architect AWS for Mission-Critical Applications
Being Well Architected in the Cloud
Enabling your DevOps culture with AWS-webinar
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
Aws cloud best_practices
High Availability in the Cloud - Architectural Best Practices
How to address operational aspects effectively with Agile practices - Matthew...
Aws cloud best_practices
How Easy to Automate Application Deployment on AWS
Continuous Deployment with Amazon Web Services by Carlos Conde
Asif Malik - Developer Lifecycle Automation in the Cloud
Agility and Control from AWS [FutureStack16]
AWS Cloud For Breakfast - Building Microservices in the Cloud
Cloudjiffy vs AWS ops works
_Preparation Tips AWS Solution Architect.pdf
OSOM Operations in the Cloud
OSOM - Operations in the Cloud
Ad

Recently uploaded (20)

PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Cloud computing and distributed systems.
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Big Data Technologies - Introduction.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Electronic commerce courselecture one. Pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
MYSQL Presentation for SQL database connectivity
sap open course for s4hana steps from ECC to s4
Cloud computing and distributed systems.
Empathic Computing: Creating Shared Understanding
Big Data Technologies - Introduction.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Network Security Unit 5.pdf for BCA BBA.
Per capita expenditure prediction using model stacking based on satellite ima...
Electronic commerce courselecture one. Pdf
Building Integrated photovoltaic BIPV_UPV.pdf
The AUB Centre for AI in Media Proposal.docx
Advanced methodologies resolving dimensionality complications for autism neur...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Programs and apps: productivity, graphics, security and other tools
MYSQL Presentation for SQL database connectivity

HA With AWS OpsWorks

  • 1. High Availability with AWS OpsWorks shane.davis@linkdigital.com.au @link_sdm SHANE DAVIS Lead Architect ANZ
  • 2. Introduction 2 Link Digital Service Delivery Manager Lead Architect ANZ Data Shades Key Contributor AWS User Group CBR Organiser
  • 3. PCs and Pet Mentality 3 Cute, precious and adorable Not scalable Timely to set up
  • 4. The Computing Evolution 4 • Desktop PCs • Server in a cupboard • Virtualisation • Virtual Dedicated Servers • Cloud Computing
  • 5. Cloud Benefits 5 • Low Cost • Agile • Easily Managed Cents per hour to run Pay for what you use Scales up and down easily Point and Click: • Provisioning • Monitoring • Management
  • 7. 7The Orchestration Journey Bash/Python scripts CLI: Command Line Interface Orchestration Suites
  • 8. 8Why OpsWorks? Templates Build Stacks Serverless Iterative Consistent Transparent Design Access Management Clone capable
  • 9. 9OpsWorks Design Layers Instances Time Based Load Based Apps Deployments Monitoring Resources Permissions Instances can belong to 1 or more layers Separate Instances out later • App Source • Data Source • Domains • SSL App Definition Deploy to one or more layers Recipes perform: • Setup • Configure • Deploy • Undeploy • Shutdown
  • 10. 10HA Design Tips Disposable Nodes Truly HA = no pets Versatile Recipes • Able to manage failed states • Capable of upgrades • Adaptive and aware Dynamic Resources Don’t paint the cogs
  • 11. 11HA Considerations • Use AWS Services when possible • Use self hosted services as a bridge • Use Route53 Failover and Health checks
  • 12. 12Scaling Options Bare Metal Deploy AMI + Autoscale Group Latest versions Failure risks Slower Deployment No setup No Updates Faster Deployment AMI + Deploy Failsafe setup Fast Deployment Latest versions
  • 13. 13Main Take Away • The Real Magic is in the sauce (recipe) • Dynamic is the key - stateless, non-static • Iteration is the way forward. Build & Improve

Editor's Notes

  • #4: When I started in IT, this was the state of the art PC. Everything was hand coded and time consuming to set up. People have DR plans because they’re scared of losing their one off masterpieces. Their pets.
  • #5: Over the last 30 years we’ve moved from desktops to the cloud.
  • #6: Cloud is low cost, Agile; scales up and down easily Easy to manage via GUI
  • #7: As organisations adopt cloud they benefit early from the scalability Next they utilise automation; scaling policies, light weight orchestration The ultimate goal is typically full orchestration where all provisioning and application deployment is fully automated.
  • #8: The journey many take to orchestration is initially to develop standard approaches using the CLI This leads to a collection of scripts in Bash or Python that usually require manual set up and provisioning The next evolution is usually some kind of orchestration suite depending on time and requirements. Many go for lightweight approaches that don’t require a provisioning server; making Ansible a popular choice. There is however another server less option; using CloudFormation and OpsWorks together.
  • #9: Use templates to build stacks. No need for an orchestration server Use templates to reply apps, layers and instances See stack architecture at a glance Simple serverless SSH control using AWS STS
  • #10: Create one layer per service role. EG: Solr; Piwik etc Instances can belong to one or more layers; providing 1 or more services Apps define what software should run on what layers. Layer contain Chef recipes to perform the actual setup, deploy and configuration Deployments are triggered on events. Setup, config and deploy when an instance is created. Updates and new deployments can be triggered manually, or externally via API calls from GitHub web hooks for example. Resources such as RDS, on-prem servers and EBS volumes can be assigned to the stack. Permissions control who has access to instances in the Stack. Security Token Service goes hand in hand with this.
  • #11: When building HA stacks, nodes need to be truly disposable. This is accomplished via smart recipes. Use dynamic resources. Don’t paint the cogs means avoiding pet names for things, and not expecting EBS volumes to be mounted as specific devices. Just define the mount point instead. Adaptive and aware recipes means those that can update settings and config based on what is on or offline. EG: Memcache configs
  • #12: AWS services are managed, scalable and HA by default Use existing services like NFS and GlusterFS as a bridge to AWS replacements Use Route53 Failover and Health checks for services that don’t necessarily support HA
  • #13: The two main scaling options are bare metal builds, or AMIs. You can use OpsWorks to create and update the AMI A hybrid approach is to have a base AMI built by OpsWorks, then use this image in a layer that performs failsafe updates when scaling
  • #14: The Chef recipes are where all the real magic happens. OpsWorks provides a great insight into your stacks. Everyone can see how they’re built; what’s installed etc Be Dynamic and don’t be tempted by static hosts, volumes, IPs etc. The price you’ll pay is flexibility. Iteration is the way forward. Don’t try to build the perfect stack on day one. Convert your existing scripts and move forward from there. You can retrospectively apply improvements to existing stacks or use Blue Green migrations.