Top Banner
1 Cloud & AWS Essentials Agenda Introduction What is the cloud? DevOps approach Basic AWS overview VPC EC2 and EBS S3 RDS Hands-on exercise
20

What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

May 20, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

1

Cloud & AWS EssentialsAgenda

• Introduction

• What is the cloud?

• DevOps approach

• Basic AWS overview

⚫ VPC

⚫ EC2 and EBS

⚫ S3

⚫ RDS

• Hands-on exercise

Page 2: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

2

Cloud & AWS EssentialsWhat is the cloud?

Cloud computing it is a model for enabling ubiquitous,

on-demand access to a shared pool of

configurable computing resources

Page 3: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

3

Cloud & AWS EssentialsCloud characteristics

•On demand self service

•Anywhere, anytime

•Quick resources provisioning

•Elasticity

•Pay as you go

•Automation

Page 4: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

4

Cloud & AWS EssentialsWhat are the benefits?

Costs saving

Scaling up

Rapid delivery

High Availability

Fault Tolerance

Page 5: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

5

Cloud & AWS EssentialsCloud models

SaaS

PaaS

IaaS

• Software as a Service (SaaS)

⚫ Usually run from a web browser

⚫ Pay per user model

⚫ No worry about installation and setup

• Platform as a Service (PaaS)

⚫ Offers tools to deploy and distribute apps

⚫ Limited setup effort

• Infrastructure as a Service (IaaS)

⚫ Automated IT infrastructure

⚫ Pay on demand model

Page 6: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

6

Cloud & AWS EssentialsCloud models

Page 7: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

7

Cloud & AWS EssentialsInfrastructure paradigms: Snowflakes vs Phoenix

Mutable infrastructure

• Every server is unique and inimitable

• Every server is lovingly hand raised and cared for, leading to a unique

environment

• When a server goes down everyone gets upset

Immutable infrastructure

• Always built from scratch and easy to recreate (“rise from the ashes”)

via automated procedure

• If a server goes down, it is promptly replaced by another identical one

• No manual updates / changes

Page 8: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

8

Cloud & AWS EssentialsDevOps approach (or how to embrace the cloud efficiently)

What is DevOps?

• It’s a culture and a mindset promoting a closer

collaboration and tighter integration between teams

that historically worked as separated silos

• Set of practices and tools to automate the processes

between software development and IT teams

• Software could then be built, tested and released

faster and more reliably

DEV OPS

Infrastructure as Code (IaC)

an approach to infrastructure automation based on well-known practices

taken from software development

Page 9: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

9

Cloud & AWS EssentialsWhat is AWS?

Amazon Web Services is a

cloud services provider

(IaaS)

Page 10: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

10

Cloud & AWS EssentialsAWS Global Infrastructure

• Region. Separate, independent geographic area grouping

AWS resources, and containing multiple Availability Zones

• Availability Zone. It contains a physical data-center. AZs

within the same region are connected via low latency links

• 18 Regions

• 55 Availability Zones

Page 11: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

11

Cloud & AWS EssentialsVPC (Virtual Private Cloud)

• A VPC is a private, isolated section where it is

possible to place AWS resources

• A VPC can spawn across several different AZs

• A VPC defines also the networking

configuration, such as:

⚫ Subnets

⚫ Route tables

⚫ Internet Gateway

Page 12: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

12

Cloud & AWS EssentialsEC2 (Elastic Compute Cloud)

• An EC2 instance is essentially a (virtual) machine

• Instance types define the number of cores and amount

of memory

• An instance is created from an AMI (Amazon Machine

Image)

• Traffic can be controlled through security group (a sort

of virtual firewall)

• An instance can be created, stopped or terminated

Page 13: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

13

Cloud & AWS EssentialsEC2 (Elastic Compute Cloud)

Page 14: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

14

Cloud & AWS EssentialsEBS (Elastic Block Store) and snapshots

• An EBS is an highly available and reliable storage volume that

can be attached to a running instance (in the same AZ)

• EBS is recommended for quick data access and when long-term

persistence is required. Different kind of volumes are available

• EBS volumes can be encrypted

• EBS can be backed up by taking a snapshot

• It is possible to expand the size and performance of an EBS

volume on-demand

Page 15: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

15

Cloud & AWS EssentialsS3 (Simple Storage Service)

• S3 is an online bulk storage, accessible from any device

to store and retrieve any amount of data (it’s like

DropBox or Google Drive)

• S3 is a region-based resource (can be accessed by

many different VPCs), highly available and cheap

• 11 9’s of reliability (99.99999999999%)

• S3 is also used internally to store EBS snapshots and

AMIs

Page 16: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

16

Cloud & AWS EssentialsRDS (Relational Database Service)

• Web service that makes it easier to setup, operate and

scale a relation database in the cloud

• Possibility to create Single and Multi AZ for high

availability

• Many different kind of DBMS supported

Page 17: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

17

Q&A

Cloud & AWS Essentials

Page 18: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

18

Cloud & AWS Essentials

1) Login to Amazon AWS console:

aws.amazon.com -> "Sign In to the Console"

2) Go to the S3 service:

3) Instructions are available in folder "iongroup-training-lab/trainee_<identifier>"

Hands-on exercise

Field Value

Account ID or alias 755957107301

IAM user name trainee_<identifier_assigned_by_the_relator>

Password 42

Page 19: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable

19

Cloud & AWS EssentialsContacts

• Andrea Fasano - [email protected]

• Marco Martinucci – [email protected]

Page 20: What is the cloud? DevOps approach Basic AWS overview - Cloud .pdf · 14 Cloud & AWS Essentials EBS (Elastic Block Store) and snapshots •An EBS is an highly available and reliable