aws 101 guide

16
Cloud 101 Amazon Web Services Getting Started

Upload: richard-harvey

Post on 07-Jul-2015

87 views

Category:

Technology


0 download

DESCRIPTION

How to get started, with tips on billing alerts and a suggested project.

TRANSCRIPT

Page 1: AWS 101 Guide

Cloud 101

Amazon Web Services

Getting Started

Page 2: AWS 101 Guide

A Simple Definition

At a basic level Cloud Computing is a collection of:

• Compute

• Storage

• Networking

Resources that can be consumed on demand.

Page 3: AWS 101 Guide

Cloud vs Traditional DC

Cloud

Advantages

• Flexible Infrastructure

– Quick to provision

• “On demand” servers

– Power on/off as you need

• Pay as you go service

– Public cloud only

Disadvantages

• Lack of physical access

Traditional Data Centres

Advantages

• Complete Control

Disadvantages

• Wasted Resources

• Long lead times for new

equipment

• Always on Infrastructure

Page 4: AWS 101 Guide

Problems in a Traditional DC

• You need to plan capacity carefully

• Often an unknown quantity

• Best guess

• Finite resource

• Limited ability to burst

• Wasted resource

Page 5: AWS 101 Guide

AWS Platform

Physical Infrastructure

Core Cloud Services

Enterprise Apps

Platform As A Service (PaaS)

Offerings A

P

I

Tools

Libraries

Infrastructure As A Service (IaaS)

Deployment

Tools

Page 6: AWS 101 Guide

AWS PlatformEnterprise Apps

A

P

I

Infrastructure As A Service (IaaS)

Regions Availability Zones

AWS Console

CLI Tools

Java, JS, Python,

PHP

.NET, Ruby,

Node.js, iOS,

Android

SDK’s

Compute Storage Networking Security Control

Databases Analytics App Services Mobile

Services

Deployment

Tools

Page 7: AWS 101 Guide

AWS PlatformWorkSpaces Zocalo

A

P

I

Infrastructure As A Service (IaaS)

Regions Availability Zones

AWS Console

CLI Tools

Java, JS, Python,

PHP

.NET, Ruby,

Node.js, iOS,

Android

SDK’s

Compute Storage Networking Security Control

Page 8: AWS 101 Guide

Getting Started

• Sign up for free!

• Use the free usage tier's

– Try “most” AWS products for free

– The Console alerts you when its not free

Page 9: AWS 101 Guide

Free Tier

Page 10: AWS 101 Guide

Free Tier

Page 11: AWS 101 Guide

Free Tier

Page 12: AWS 101 Guide

Billing Alerts

Even if you are careful sometimes you can incur charges, so its best to set up a

billing alert as your first task.

• Billing alerts will email you if you exceed a certain value

• You can even alert if you go $0.01 over the free tier usage

• It’s a simple 9 step process found here:• http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/create-billing-alarm.html

Page 13: AWS 101 Guide

What to build?The free tier is good for simple, low to moderate usage websites

Perfect to try a WordPress Blog with the following components:

• EC2 Linux Server (running apache)

• I recommend Amazon Linux as a a t2.micro

• RDS MySQL Database

• Choose the none multi-AZ deployment and db.t2.micro

• Elastic Load Balancer (not needed as only one server but

good to learn)

• S3 Storage (For storing files uploaded to WordPress)

• CloudFront (Optional but good for taking pressure off the

server)

• SES (for sending emails to users)

• Identity controls

• IAM for user access

Guide: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hosting-wordpress.html

Page 14: AWS 101 Guide

Taking WordPress FurtherThe previous guide only goes so far, so have a play and add in the extra

services. Try using RDS instead of installing MySQL. You’ll get a better

performing website. You should end up with something like this:

Page 15: AWS 101 Guide

Taking WordPress FurtherThese building blocks aren’t that different to a full scale deployment to run very

large sites. There are just more parts. You’ve now got all the skills to do this.

Page 16: AWS 101 Guide

Resources• AWS Sign Up

– http://aws.amazon.com/

• AWS Free Tier Information– http://aws.amazon.com/free/

• AWS Billing Alerts– http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/create-billing-alarm.html

• AWS Documentation– http://aws.amazon.com/documentation/

• Running WordPress on AWS– http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hosting-wordpress.html

• AWS Plugins for WordPress:– S3 / CloudFront

• W3 Total Cache: https://wordpress.org/plugins/w3-total-cache/

– SES• WP-SES: https://wordpress.org/plugins/wp-ses/

• Forums + Meetup Groups

• Official Forum:– https://forums.aws.amazon.com/index.jspa

• AWS User Group East– http://www.meetup.com/AWS-User-Group-East/