Agenda Introduction What is the cloud? DevOps approach Basic AWS overview VPC EC2 and EBS S3 RDS Hands-on exercise 1
What is the cloud? Cloud computing it is a model for enabling ubiquitous, on-demand access to a shared pool of configurable computing resources 2
Cloud characteristics On demand self service Anywhere, anytime Quick resources provisioning Pay as you go Automation Elasticity 3
What are the benefits? Costs saving Scaling up Rapid delivery High Availability Fault Tolerance 4
Cloud models SaaS PaaS 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 IaaS 5
Cloud models 6
Infrastructure 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 7
DevOps 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 8
What is AWS? Amazon Web Services is a cloud services provider (IaaS) 9
AWS Global Infrastructure 18 Regions 55 Availability Zones 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 10
VPC (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 11
EC2 (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 12
EC2 (Elastic Compute Cloud) 13
EBS (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 14
S3 (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 15
RDS (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 16
Q&A 17
Hands-on exercise 1) Login to Amazon AWS console: aws.amazon.com -> "Sign In to the Console" Field Value Account ID or alias 755957107301 IAM user name trainee_<identifier_assigned_by_the_relator> Password 42 2) Go to the S3 service: 3) Instructions are available in folder "iongroup-training-lab/trainee_<identifier>" 18
Contacts Andrea Fasano - andrea.fasano@iongroup.com Marco Martinucci marco.martinucci@iongroup.com 19