what is the cloud? devops approach basic aws overview - cloud .pdf · 14 cloud & aws essentials...
TRANSCRIPT
1
Cloud & AWS EssentialsAgenda
• Introduction
• What is the cloud?
• DevOps approach
• Basic AWS overview
⚫ VPC
⚫ EC2 and EBS
⚫ S3
⚫ RDS
• Hands-on exercise
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
3
Cloud & AWS EssentialsCloud characteristics
•On demand self service
•Anywhere, anytime
•Quick resources provisioning
•Elasticity
•Pay as you go
•Automation
4
Cloud & AWS EssentialsWhat are the benefits?
Costs saving
Scaling up
Rapid delivery
High Availability
Fault Tolerance
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
6
Cloud & AWS EssentialsCloud models
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
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
9
Cloud & AWS EssentialsWhat is AWS?
Amazon Web Services is a
cloud services provider
(IaaS)
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
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
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
13
Cloud & AWS EssentialsEC2 (Elastic Compute Cloud)
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
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
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
17
Q&A
Cloud & AWS Essentials
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
19
Cloud & AWS EssentialsContacts
• Andrea Fasano - [email protected]
• Marco Martinucci – [email protected]