+ All Categories
Home > Technology > Introducing AWS OpsWorks

Introducing AWS OpsWorks

Date post: 08-May-2015
Category:
Upload: amazon-web-services-latin-america
View: 2,409 times
Download: 3 times
Share this document with a friend
Description:
Introducing AWS OpsWorks
28
Adam Glick Introducing AWS OpsWorks Sr. Product Manager
Transcript
Page 1: Introducing AWS OpsWorks

Adam Glick

Introducing AWS OpsWorks

Sr. Product Manager

Page 2: Introducing AWS OpsWorks

Vários Tutoriais , treinamentos e mentoria em

português

Inscreva-se agora !!

http://awshub.com.br

Page 3: Introducing AWS OpsWorks

Application Management Challenges

• Your app’s reliability and scalability are really important.

• The operational tasks needed to keep it running smoothly take time…

• As your app grows, routine operational tasks can become even more

time-consuming and error-prone.

• Don’t want to trade off control or flexibility for ease of use.

• Provision

• Deploy

• Configure

• Monitor

• Scale

• Secure

Page 4: Introducing AWS OpsWorks

Once upon a time…

Source: http://www.mixph.com/2008/10/how-to-make-donuts-food-business.html

Page 5: Introducing AWS OpsWorks

This is what we want…

Source http://thethriftythings.com/2013/01/doughnut-heaven-with-krispy-kreme-2013-bloggers-summit.html

Page 6: Introducing AWS OpsWorks

Recipes + Automation

Source http://farm4.static.flickr.com/3217/3142415933_de9767d69b.jpg

Page 7: Introducing AWS OpsWorks

In today’s infrastructure, everything is code…

from the applications developers are writing, to your

configuration management tools, to provisioning

resources with AWS CloudFormation templates.

Page 8: Introducing AWS OpsWorks

Introducing AWS OpsWorks

• Integrated application management solution for ops-minded

developers and IT admins

• Model, control, and automate applications of nearly any scale

and complexity

• AWS Management Console, SDKs, or CLI

• No additional cost

Page 9: Introducing AWS OpsWorks

Why Use AWS OpsWorks?

SIMPLE

Easy to use, quickly get started and productive

PRODUCTIVE

Reduces errors with conventions and scripted configuration

FLEXIBLE

Simplifies deployments of any scale and complexity

POWERFUL

Reduces cost and time with automation

SECURE

Enables control with fine-grained permissions

Page 10: Introducing AWS OpsWorks

Improve productivity

• Scalable infrastructure

• Flexible architecture

• Deploy often

• Staging environments

AWS OpsWorks gives us the tools we need to automate operations. We can scale Monster World, one of the largest Facebook games, to millions of users without ever needing more than two backend developers.

Jesper Richter-Reichhelm head of engineering

Page 11: Introducing AWS OpsWorks

Improve control

• Versioned config

• Control anything you can script

• Lock down console access

• Change and deployment logs

Crashlytics uses AWS OpsWorks to support the rapid growth of our mobile crash reporting solution. With AWS OpsWorks, we can focus on the development and growth of our service and not spend developer cycles on infrastructure and operational tasks.

Jeff Seibert CEO of Crashlytics

Page 12: Introducing AWS OpsWorks

www.easybib.com [email protected]

EasyBib & OpsWorks

Deploy time!

Page 13: Introducing AWS OpsWorks

www.easybib.com [email protected]

/what-do-we-do We are an information literacy company.

What is information literacy? Well..

Learning how to not plagiarize. (On average, 3.8 instances of

plagiarism per paper - Tii study)

Knowing what sources to use in research (not Wikipedia or

Yahoo Answers!)

Learning how to find and evaluate academic, peer-reviewed

content (Google Scholar > Google)

Page 14: Introducing AWS OpsWorks

www.easybib.com [email protected]

/is-it-important?

It’s not just students who plagiarize:

Pal Schmitt, former president of

Hungary

German education minister

Jayson Blair (former New York Times

writer)

Jonah Lehrer, journalist and author

Yes! Understanding and crediting information is very important.

Page 15: Introducing AWS OpsWorks

www.easybib.com [email protected]

/EasyBib

• EasyBib is an citation management platform. 40 million students

use EasyBib every year. Over 1000 institutions subscribe,

including 100 large US universities and 900 high schools and

districts.

Page 16: Introducing AWS OpsWorks

www.easybib.com [email protected]

/aws

• Different environments (dev, staging, production).

• HAProxy load balancers.

• Shared nothing PHP application servers.

• Various workers (Gearman).

• Lots of RDS, some ElastiCache.

Page 17: Introducing AWS OpsWorks

www.easybib.com [email protected]

/scalarium

• Since …November 2010.

• Manage roles (e.g. load balancers, application

servers, various worker instances).

• Embrace OpsCode Chef to have identical

bootstrapping for all environments — dev (Vagrant),

staging, production.

• Enable people to always deploy!

Page 18: Introducing AWS OpsWorks

www.easybib.com [email protected]

/safe

• Automated cloud deployment does not have to be

scary

• It’s true – it’s the cloud – things can go wrong

• If an app doesn’t deploy properly, your current code

still runs

• Log file access

• Easy to update (recipes, git tags, svn, etc.)

Page 19: Introducing AWS OpsWorks

www.easybib.com [email protected]

/opsworks

• Straight-forward: replace “scalarium” with

“opsworks”.

• Used the opportunity to move on role-based recipes

to be able to version roles in GIT.

Page 20: Introducing AWS OpsWorks

Improve reliability

Deploy Code Build Test Provision Monitor

OpsWorks Git Jenkins

Check in – Build & Test Tests pass – Deploy

Page 21: Introducing AWS OpsWorks

Software Config & Deployment Options

Linux

JEE

Hibernate

Your Code

Struts

Apache

Tomcat

Linux

JEE

Hibernate

Your Code

Struts

Apache

Tomcat

Linux

JEE

Hibernate

Your Code

Struts

Apache

Tomcat

Chef

Page 22: Introducing AWS OpsWorks

AWS Application Management Services

Elastic Beanstalk OpsWorks CloudFormation EC2

Convenience Control

Higher-level services Do it yourself

Page 23: Introducing AWS OpsWorks

What we’re going to show in the demo…

A stack represents the cloud infrastructure and applications that you want to manage together.

A layer defines how to set up and configure a set of instances and related resources.

Then deploy your app to specific instances and customize the deployment with Chef recipes.

Decide how to scale: manually, with 24/7 instances, or automatically, with load-based or time-based instances.

Page 24: Introducing AWS OpsWorks

What is Chef and how does OpsWorks use it

• Chef is an open-source framework

that automates software deployment

and configuration.

• Whenever a change happens on

your stack, or upon request, all

instances are notified and recipes

are run.

Recipes Lifecycle Events

Metadata

Page 25: Introducing AWS OpsWorks

Chef recipes in action

Recipe

+

Metadata

=

Command

execute “mysql-connect” do command “/usr/bin/mysql -u#{node[:deploy][:myphpapp][:database][:username]} -p#{node[:deploy][:myphpapp][:database][:password]} #{node[:deploy][:myphpapp][:database][:database]} …

“deploy”: { “myphpapp”: { “database”: { “username”: “root”, “password”: “abcxyc”, …

“/usr/bin/mysql -uroot –pabcxyz myphpapp …

Page 26: Introducing AWS OpsWorks

Demo

Page 27: Introducing AWS OpsWorks

What’s next for AWS OpsWorks?

• More integration with AWS resources (Chef 11 and custom AMIs just shipped)

• More layers

• Deeper VPC integration (beyond today’s support for the default VPC)

• And more! Give us your feedback in the OpsWorks forums.

Page 28: Introducing AWS OpsWorks

Thank You!

• Use OpsWorks to improve:

– Productivity

– Control

– Reliability

• For more information, please visit us at http://aws.amazon.com/opsworks


Recommended