SlideShare a Scribd company logo
1 of 25
AWS Introduction
AWS main components
AWS Regions
● Designed to be isolated from other Amazon Regions
● Achieve the greatest possible fault tolerance and stability
● Most AWS Resources are tied to the Regions except some
Global Services like Identity and Access Management
(IAM)
● For example, we may want to launch instances in the EU to
be near European customers or to meet legal requirements
AWS Availability Zones (AZ)
● Availability Zones are multiple, isolated locations within each
Region
● Represented by a Region code followed by a letter identifier; for
example, eu-central-1a
● Consist of one or more discrete data centers, each with
redundant power, networking, and connectivity
● Offer the ability to operate applications that are more highly
available, fault tolerant, and scalable
Amazon EC2
● EC2 = Elastic Compute Cloud = Infrastructure as a Service
● You can use Amazon EC2 to launch as many or as few virtual servers as you need,
configure security and networking, and manage storage
● Knowing EC2 is fundamental to understand how the Cloud works
● Operating System (OS): Linux, Windows or Mac OS
● How much compute power & cores (CPU)
● How much random-access memory (RAM)
● How much storage space
● Network card: speed of the card, Public IP address
EC2 Types
EC2 Instance Types Comparison (and how to remember them) - ParkMyCloud
AWS ELB
● An ELB (EC2 Load Balancer) is a managed load
balancer
● AWS takes care of upgrades, maintenance
● Spreads load across multiple downstream instances
● Exposes a single point of access (DNS) to your
application
● Does regular health checks to your instances
● High availability across zones
● Separates public traffic from private traffic
● Provide SSL termination (HTTPS) for your websites
Types of load balancer on AWS
● Classic Load Balancer (v1 - old generation) – HTTP, HTTPS, TCP
● Application Load Balancer (v2 - new generation) – HTTP, HTTPS,
WebSocket
● Network Load Balancer (v2 - new generation) – TCP, TLS & UDP
You can setup internal (private) or external (public) ELBs
AWS VPC
● VPC = Virtual Private Cloud to hold all of our AWS
resources
● Restricts what sort of traffic, IP addresses and also the
users that can access our instances
● VPC is private, only the Private IP ranges are allowed
(10.0.0.0–10.255.255.255 / 172.16.0.0–172.31.255.255 /
192.168.0.0–192.168.255.255)
● Up to 5 per region – soft limit
● A VPC’s CIDR (Classless Inter-Domain Routing) should
not overlap with your other networks
AWS VPC Components
● Subnet: A segment of a VPC’s IP address range where you can place groups of isolated
resources
● Internet Gateway: The Amazon VPC side of a connection to the public Internet
● NAT Gateway: Highly available, managed service for resources in a private subnet to access the
Internet
● Virtual private gateway: The Amazon VPC side of a VPN connection
● Peering Connection: Route traffic via private IP addresses between two peered VPCs
● VPC Endpoints: Enables private connectivity to services hosted in AWS, from within your VPC
● Egress-only Internet Gateway: A stateful gateway to provide egress only access for IPv6 traffic
from the VPC to the Internet
AWS Internet Gateways (IG)
● VPC are in a private network -> Can not
reach internet
● IG helps our VPC instances connect with the
internet
● Managed by AWS, scales horizontally and is
HA
● One VPC can only be attached to one IGW
and vice versa
AWS Subnets
● Are containers within VPC that segment off a slice
of the CIDR block you define in your VPC
● Subnets allow you to give different access rules and
place resources in different containers where those
rules should apply
● Is a Availability Zone resource
● Can be public (accessible from the internet) or
private (not accessible from the internet)
AWS Route Tables
● Contains a set of rules, called routes, that are used to
determine where network traffic from your subnet or
gateway is directed
● Each subnet in your VPC must be associated with a route
table, which controls the routing for the subnet (subnet
route table)
● Each route in a table specifies a destination and a target
● For example, to enable a subnet to access the internet
through an internet gateway, we can use the route table
entry from the second image
AWS NAT Gateway
● Allows instances in the private subnets to connect to
the internet.
● Must be launched in a public subnet.
● Managed by AWS
● NAT is created in a specific AZ, uses an EIP
● 1 NAT per AZ to have fault-tolerance and HA (High
Availability)
● Requires an IGW (Private Subnet => NAT => IGW)
Network ACLs
● NACL are like a firewall which control traffic from and to subnet
● Are placed on subnet level
● Default NACL allows everything outbound and everything inbound
● One NACL per Subnet
● Deny and Allow rules
● Stateless
AWS Security Groups
● They control how traffic is allowed into or out of our EC2 Instances.
● Security groups only contain rules
● Security groups rules can reference by IP or by security group
● Stateful: Changes in incoming rules applied to outgoing rules
AWS NACLs vs SG
Security Group NACL
Instance level Subnet level
Stateful Stateless
Allow rules only Allow and Deny rules
All rules are evaluated before traffic is
allowed
Rules are evaluated in the order specified
First layer of defense for egress traffic First layer of defense for ingress traffic
AWS ECS
● ECS = Elastic Container Service
● Launch Docker containers on AWS
● Simplifies running containers in a HA
manner across multiple Availability
Zones within a Region
● Serverless with AWS Fargate
● Is Region specific
● Is a logical grouping of tasks and services
● Uses one or more EC2 Instances to run tasks
● EC2 instances of the cluster run the ECS agent
● The ECS agent registers the instance to the Cluster
● Serverless using AWS Fargate
ECS Cluster
ECS Task Definition
● A JSON file that describes one or more containers for ECS to run
● Can be thought of as a blueprint for your application
● Docker image to use with each container in your task
● CPU and memory to use with each task
● Which ports should be opened for your application
● What data volumes should be used with the containers in the task
ECS Services
● Allows to run and maintain a specified number of tasks
● If any of the tasks fails, ECS launches another task in order to maintain the
desired number of tasks in the service
● Task placement strategies and constraints to customise task placement
decisions
● Three deployment types: rolling update, blue/green, and external
● Can be linked to an ELB (Load Balancer)
Terraform
● Infrastructure as Code (described using a high-level configuration syntax)
● Is a tool for building, changing, and versioning infrastructure safely and efficiently
● Configuration files describe to Terraform the components needed to run
● Generates an execution plan describing what it will do to reach the desired state
● Executes the plan to build the described infrastructure
● Determines what changed and creates incremental execution plans
● Can manage low-level components (compute instances, networking), as well as high-
level components (DNS entries, SaaS features)
Terraform hands-on
AWS Monolith API design with fault-tolerance
and HA
Thank you
Alexandros and Dimosthenis

More Related Content

What's hot

Microsoft Azure Hub_Spoke_Ampliado.pptx
Microsoft Azure Hub_Spoke_Ampliado.pptxMicrosoft Azure Hub_Spoke_Ampliado.pptx
Microsoft Azure Hub_Spoke_Ampliado.pptxAlejandro Daricz
 
Cloud Computing Fundamentals
Cloud Computing FundamentalsCloud Computing Fundamentals
Cloud Computing FundamentalsSonia Nagpal
 
Microsoft Azure cloud services
Microsoft Azure cloud servicesMicrosoft Azure cloud services
Microsoft Azure cloud servicesNajeeb Khan
 
Anthos Application Modernization Platform
Anthos Application Modernization PlatformAnthos Application Modernization Platform
Anthos Application Modernization PlatformGDG Cloud Bengaluru
 
Service Oriented Architecture In Automotive
Service Oriented Architecture In AutomotiveService Oriented Architecture In Automotive
Service Oriented Architecture In AutomotiveNamrata Mahalingam
 
SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration ServicesRobert MacLean
 
Business Continuity & Disaster Recovery with Microsoft Azure
Business Continuity & Disaster Recovery with Microsoft AzureBusiness Continuity & Disaster Recovery with Microsoft Azure
Business Continuity & Disaster Recovery with Microsoft AzureAymen Mami
 
Introduction to Azure
Introduction to AzureIntroduction to Azure
Introduction to AzureRobert Crane
 
Introduction of VLAN and VSAN with its benefits,
Introduction of VLAN and VSAN with its benefits,Introduction of VLAN and VSAN with its benefits,
Introduction of VLAN and VSAN with its benefits,Dr Neelesh Jain
 
Storage Area Network(SAN)
Storage Area Network(SAN)Storage Area Network(SAN)
Storage Area Network(SAN)Krishna Kahar
 
Networking in cloud computing
Networking in cloud computingNetworking in cloud computing
Networking in cloud computingBarani Tharan
 
Element Management Subsystem
Element Management SubsystemElement Management Subsystem
Element Management Subsystemdevalnaik
 
Introduction to Aneka, Aneka Model is explained
Introduction to Aneka, Aneka Model is explainedIntroduction to Aneka, Aneka Model is explained
Introduction to Aneka, Aneka Model is explainedDr Neelesh Jain
 
Case study of amazon EC2 by Akash Badone
Case study of amazon EC2 by Akash BadoneCase study of amazon EC2 by Akash Badone
Case study of amazon EC2 by Akash BadoneAkash Badone
 
Disaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryDisaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryNitin Agarwal
 
Module 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDModule 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDSweta Kumari Barnwal
 

What's hot (20)

Microsoft Azure Hub_Spoke_Ampliado.pptx
Microsoft Azure Hub_Spoke_Ampliado.pptxMicrosoft Azure Hub_Spoke_Ampliado.pptx
Microsoft Azure Hub_Spoke_Ampliado.pptx
 
Cloud ops
Cloud opsCloud ops
Cloud ops
 
Cloud Computing Fundamentals
Cloud Computing FundamentalsCloud Computing Fundamentals
Cloud Computing Fundamentals
 
How to do b tech be projects or any academic projects
How to do b tech be projects or any academic projectsHow to do b tech be projects or any academic projects
How to do b tech be projects or any academic projects
 
Cloud service providers
Cloud service providersCloud service providers
Cloud service providers
 
Microsoft Azure cloud services
Microsoft Azure cloud servicesMicrosoft Azure cloud services
Microsoft Azure cloud services
 
MODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdfMODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdf
 
Anthos Application Modernization Platform
Anthos Application Modernization PlatformAnthos Application Modernization Platform
Anthos Application Modernization Platform
 
Service Oriented Architecture In Automotive
Service Oriented Architecture In AutomotiveService Oriented Architecture In Automotive
Service Oriented Architecture In Automotive
 
SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration Services
 
Business Continuity & Disaster Recovery with Microsoft Azure
Business Continuity & Disaster Recovery with Microsoft AzureBusiness Continuity & Disaster Recovery with Microsoft Azure
Business Continuity & Disaster Recovery with Microsoft Azure
 
Introduction to Azure
Introduction to AzureIntroduction to Azure
Introduction to Azure
 
Introduction of VLAN and VSAN with its benefits,
Introduction of VLAN and VSAN with its benefits,Introduction of VLAN and VSAN with its benefits,
Introduction of VLAN and VSAN with its benefits,
 
Storage Area Network(SAN)
Storage Area Network(SAN)Storage Area Network(SAN)
Storage Area Network(SAN)
 
Networking in cloud computing
Networking in cloud computingNetworking in cloud computing
Networking in cloud computing
 
Element Management Subsystem
Element Management SubsystemElement Management Subsystem
Element Management Subsystem
 
Introduction to Aneka, Aneka Model is explained
Introduction to Aneka, Aneka Model is explainedIntroduction to Aneka, Aneka Model is explained
Introduction to Aneka, Aneka Model is explained
 
Case study of amazon EC2 by Akash Badone
Case study of amazon EC2 by Akash BadoneCase study of amazon EC2 by Akash Badone
Case study of amazon EC2 by Akash Badone
 
Disaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryDisaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site Recovery
 
Module 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDModule 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUD
 

Similar to AWS Introduction

Introduction to AWS & Cloud Services
Introduction to AWS & Cloud ServicesIntroduction to AWS & Cloud Services
Introduction to AWS & Cloud ServicesAnn Venkataraman
 
Ghost Environment
Ghost EnvironmentGhost Environment
Ghost EnvironmentPratipD
 
AWS Virtual Private Cloud
AWS Virtual Private CloudAWS Virtual Private Cloud
AWS Virtual Private CloudMahesh Raj
 
AWS VPC & Networking basic concepts
AWS VPC & Networking basic conceptsAWS VPC & Networking basic concepts
AWS VPC & Networking basic conceptsAbhinav Kumar
 
Introduction to Windows Azure
Introduction to Windows AzureIntroduction to Windows Azure
Introduction to Windows AzureRavi Ranjan Karn
 
Kubernetes networking in AWS
Kubernetes networking in AWSKubernetes networking in AWS
Kubernetes networking in AWSZvika Gazit
 
Docker on AWS - the Right Way
Docker on AWS - the Right WayDocker on AWS - the Right Way
Docker on AWS - the Right WayAllCloud
 
AWS Network Topology/Architecture
AWS Network Topology/ArchitectureAWS Network Topology/Architecture
AWS Network Topology/Architecturewlscaudill
 
Architecting applications on amazon web services with node.js
Architecting applications on amazon web services with node.jsArchitecting applications on amazon web services with node.js
Architecting applications on amazon web services with node.jsHenry Fougere
 
Vpc (virtual private cloud)
Vpc (virtual private cloud)Vpc (virtual private cloud)
Vpc (virtual private cloud)RashmiDhanve
 
Building a sdn solution for the deployment of web application stacks in docker
Building a sdn solution for the deployment of web application stacks in dockerBuilding a sdn solution for the deployment of web application stacks in docker
Building a sdn solution for the deployment of web application stacks in dockerJorge Juan Mendoza
 
re:Invent 2018 re:Cap for Toronto AWS User Group
re:Invent 2018 re:Cap for Toronto AWS User Groupre:Invent 2018 re:Cap for Toronto AWS User Group
re:Invent 2018 re:Cap for Toronto AWS User GroupDaniel Zivkovic
 
Reach: Solving AWS Networking Problems Faster
Reach: Solving AWS Networking Problems FasterReach: Solving AWS Networking Problems Faster
Reach: Solving AWS Networking Problems FasterDanLuhring
 
Introduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best PracticesIntroduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best PracticesGary Silverman
 
Satrtup Bootcamp - Scale on AWS
Satrtup Bootcamp - Scale on AWSSatrtup Bootcamp - Scale on AWS
Satrtup Bootcamp - Scale on AWSIdan Tohami
 
Amazon Virtual Private Cloud (VPC)
Amazon Virtual Private Cloud (VPC)Amazon Virtual Private Cloud (VPC)
Amazon Virtual Private Cloud (VPC)Tejoy Vachhrajani
 

Similar to AWS Introduction (20)

Introduction to AWS & Cloud Services
Introduction to AWS & Cloud ServicesIntroduction to AWS & Cloud Services
Introduction to AWS & Cloud Services
 
002 AWSSlides.pdf
002 AWSSlides.pdf002 AWSSlides.pdf
002 AWSSlides.pdf
 
Ghost Environment
Ghost EnvironmentGhost Environment
Ghost Environment
 
AWS Virtual Private Cloud
AWS Virtual Private CloudAWS Virtual Private Cloud
AWS Virtual Private Cloud
 
AWS VPC & Networking basic concepts
AWS VPC & Networking basic conceptsAWS VPC & Networking basic concepts
AWS VPC & Networking basic concepts
 
Cloud Service.pptx
Cloud Service.pptxCloud Service.pptx
Cloud Service.pptx
 
Introduction to Windows Azure
Introduction to Windows AzureIntroduction to Windows Azure
Introduction to Windows Azure
 
Kubernetes networking in AWS
Kubernetes networking in AWSKubernetes networking in AWS
Kubernetes networking in AWS
 
Docker on AWS - the Right Way
Docker on AWS - the Right WayDocker on AWS - the Right Way
Docker on AWS - the Right Way
 
AWS Network Topology/Architecture
AWS Network Topology/ArchitectureAWS Network Topology/Architecture
AWS Network Topology/Architecture
 
Architecting applications on amazon web services with node.js
Architecting applications on amazon web services with node.jsArchitecting applications on amazon web services with node.js
Architecting applications on amazon web services with node.js
 
Vpc (virtual private cloud)
Vpc (virtual private cloud)Vpc (virtual private cloud)
Vpc (virtual private cloud)
 
cc.pptx
cc.pptxcc.pptx
cc.pptx
 
Building a sdn solution for the deployment of web application stacks in docker
Building a sdn solution for the deployment of web application stacks in dockerBuilding a sdn solution for the deployment of web application stacks in docker
Building a sdn solution for the deployment of web application stacks in docker
 
re:Invent 2018 re:Cap for Toronto AWS User Group
re:Invent 2018 re:Cap for Toronto AWS User Groupre:Invent 2018 re:Cap for Toronto AWS User Group
re:Invent 2018 re:Cap for Toronto AWS User Group
 
Reach: Solving AWS Networking Problems Faster
Reach: Solving AWS Networking Problems FasterReach: Solving AWS Networking Problems Faster
Reach: Solving AWS Networking Problems Faster
 
Introduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best PracticesIntroduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best Practices
 
Aws Network Introduction
Aws Network Introduction Aws Network Introduction
Aws Network Introduction
 
Satrtup Bootcamp - Scale on AWS
Satrtup Bootcamp - Scale on AWSSatrtup Bootcamp - Scale on AWS
Satrtup Bootcamp - Scale on AWS
 
Amazon Virtual Private Cloud (VPC)
Amazon Virtual Private Cloud (VPC)Amazon Virtual Private Cloud (VPC)
Amazon Virtual Private Cloud (VPC)
 

Recently uploaded

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...Nitya salvi
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456KiaraTiradoMicha
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 

Recently uploaded (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 

AWS Introduction

  • 3. AWS Regions ● Designed to be isolated from other Amazon Regions ● Achieve the greatest possible fault tolerance and stability ● Most AWS Resources are tied to the Regions except some Global Services like Identity and Access Management (IAM) ● For example, we may want to launch instances in the EU to be near European customers or to meet legal requirements
  • 4. AWS Availability Zones (AZ) ● Availability Zones are multiple, isolated locations within each Region ● Represented by a Region code followed by a letter identifier; for example, eu-central-1a ● Consist of one or more discrete data centers, each with redundant power, networking, and connectivity ● Offer the ability to operate applications that are more highly available, fault tolerant, and scalable
  • 5. Amazon EC2 ● EC2 = Elastic Compute Cloud = Infrastructure as a Service ● You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage ● Knowing EC2 is fundamental to understand how the Cloud works ● Operating System (OS): Linux, Windows or Mac OS ● How much compute power & cores (CPU) ● How much random-access memory (RAM) ● How much storage space ● Network card: speed of the card, Public IP address
  • 6. EC2 Types EC2 Instance Types Comparison (and how to remember them) - ParkMyCloud
  • 7. AWS ELB ● An ELB (EC2 Load Balancer) is a managed load balancer ● AWS takes care of upgrades, maintenance ● Spreads load across multiple downstream instances ● Exposes a single point of access (DNS) to your application ● Does regular health checks to your instances ● High availability across zones ● Separates public traffic from private traffic ● Provide SSL termination (HTTPS) for your websites
  • 8. Types of load balancer on AWS ● Classic Load Balancer (v1 - old generation) – HTTP, HTTPS, TCP ● Application Load Balancer (v2 - new generation) – HTTP, HTTPS, WebSocket ● Network Load Balancer (v2 - new generation) – TCP, TLS & UDP You can setup internal (private) or external (public) ELBs
  • 9. AWS VPC ● VPC = Virtual Private Cloud to hold all of our AWS resources ● Restricts what sort of traffic, IP addresses and also the users that can access our instances ● VPC is private, only the Private IP ranges are allowed (10.0.0.0–10.255.255.255 / 172.16.0.0–172.31.255.255 / 192.168.0.0–192.168.255.255) ● Up to 5 per region – soft limit ● A VPC’s CIDR (Classless Inter-Domain Routing) should not overlap with your other networks
  • 10. AWS VPC Components ● Subnet: A segment of a VPC’s IP address range where you can place groups of isolated resources ● Internet Gateway: The Amazon VPC side of a connection to the public Internet ● NAT Gateway: Highly available, managed service for resources in a private subnet to access the Internet ● Virtual private gateway: The Amazon VPC side of a VPN connection ● Peering Connection: Route traffic via private IP addresses between two peered VPCs ● VPC Endpoints: Enables private connectivity to services hosted in AWS, from within your VPC ● Egress-only Internet Gateway: A stateful gateway to provide egress only access for IPv6 traffic from the VPC to the Internet
  • 11. AWS Internet Gateways (IG) ● VPC are in a private network -> Can not reach internet ● IG helps our VPC instances connect with the internet ● Managed by AWS, scales horizontally and is HA ● One VPC can only be attached to one IGW and vice versa
  • 12. AWS Subnets ● Are containers within VPC that segment off a slice of the CIDR block you define in your VPC ● Subnets allow you to give different access rules and place resources in different containers where those rules should apply ● Is a Availability Zone resource ● Can be public (accessible from the internet) or private (not accessible from the internet)
  • 13. AWS Route Tables ● Contains a set of rules, called routes, that are used to determine where network traffic from your subnet or gateway is directed ● Each subnet in your VPC must be associated with a route table, which controls the routing for the subnet (subnet route table) ● Each route in a table specifies a destination and a target ● For example, to enable a subnet to access the internet through an internet gateway, we can use the route table entry from the second image
  • 14. AWS NAT Gateway ● Allows instances in the private subnets to connect to the internet. ● Must be launched in a public subnet. ● Managed by AWS ● NAT is created in a specific AZ, uses an EIP ● 1 NAT per AZ to have fault-tolerance and HA (High Availability) ● Requires an IGW (Private Subnet => NAT => IGW)
  • 15. Network ACLs ● NACL are like a firewall which control traffic from and to subnet ● Are placed on subnet level ● Default NACL allows everything outbound and everything inbound ● One NACL per Subnet ● Deny and Allow rules ● Stateless
  • 16. AWS Security Groups ● They control how traffic is allowed into or out of our EC2 Instances. ● Security groups only contain rules ● Security groups rules can reference by IP or by security group ● Stateful: Changes in incoming rules applied to outgoing rules
  • 17. AWS NACLs vs SG Security Group NACL Instance level Subnet level Stateful Stateless Allow rules only Allow and Deny rules All rules are evaluated before traffic is allowed Rules are evaluated in the order specified First layer of defense for egress traffic First layer of defense for ingress traffic
  • 18. AWS ECS ● ECS = Elastic Container Service ● Launch Docker containers on AWS ● Simplifies running containers in a HA manner across multiple Availability Zones within a Region ● Serverless with AWS Fargate
  • 19. ● Is Region specific ● Is a logical grouping of tasks and services ● Uses one or more EC2 Instances to run tasks ● EC2 instances of the cluster run the ECS agent ● The ECS agent registers the instance to the Cluster ● Serverless using AWS Fargate ECS Cluster
  • 20. ECS Task Definition ● A JSON file that describes one or more containers for ECS to run ● Can be thought of as a blueprint for your application ● Docker image to use with each container in your task ● CPU and memory to use with each task ● Which ports should be opened for your application ● What data volumes should be used with the containers in the task
  • 21. ECS Services ● Allows to run and maintain a specified number of tasks ● If any of the tasks fails, ECS launches another task in order to maintain the desired number of tasks in the service ● Task placement strategies and constraints to customise task placement decisions ● Three deployment types: rolling update, blue/green, and external ● Can be linked to an ELB (Load Balancer)
  • 22. Terraform ● Infrastructure as Code (described using a high-level configuration syntax) ● Is a tool for building, changing, and versioning infrastructure safely and efficiently ● Configuration files describe to Terraform the components needed to run ● Generates an execution plan describing what it will do to reach the desired state ● Executes the plan to build the described infrastructure ● Determines what changed and creates incremental execution plans ● Can manage low-level components (compute instances, networking), as well as high- level components (DNS entries, SaaS features)
  • 24. AWS Monolith API design with fault-tolerance and HA

Editor's Notes

  1. DIMOS: Amazon web service is an online platform that provides scalable and cost-effective cloud computing solutions. AWS is a broadly adopted cloud platform which offers several on-demand operations like compute power, database storage, content delivery, etc. AWS has many services and on the table you can see a list of these services. Some of the most known services are: AWS EC2, AWS Lambda, AWS S3 etc
  2. ALEX AWS Regions are separate geographic areas that AWS uses to house its infrastructure. distributed around the world The closer your region is to you, the better, so that you can reduce network latency They are designed to be isolated from the other regions, μετα να αναφερουμε τις τελειες 2-3-4
  3. ALEX An AWS Availability Zone (AZ) is the logical building block that makes up an AWS Region are isolated data centers (each of them has its own network/connectivity) within a region. Each region has multiple AZs and when you design your infrastructure to have backups of data in other AZs you are building a very efficient model of resiliency, i.e. a core concept of cloud computing. Selecting multiple AZ when we design the deployment of we get the ability to operate applications that are more highly available, fault tolerant, and scalable
  4. DIMOS: Amazon EC2 is one of the most used and most basic services in Amazon, and is fundamental to understand how the cloud works. But the first question here is, what is EC2? Well, to be very simple, it is a machine with an operating system and hardware components of your choice. You can choose your operating system eg. Linux or Windows or OS The main difference is that it is totally virtualized. So you can run multiple virtual computers in a single physical hardware. Also you can choose your compute power and cores, you can pick how much memory you want and how much storage space you want. You can attach a network card in order to get a public ip. So ec2 is configurable and help us to deploy our services.
  5. DIMOS We can see in this table that there are a lot of types of ec2 instaces which are optimized to fit different use cases. Instance types have varying combinations of CPU, memory, storage, and networking capacity and give you the flexibility to choose the appropriate mix of resources for our applications. Each instance type includes one or more instance sizes, allowing us to scale our resources to the requirements of your target workload
  6. ALEX AWS ELB is a managed load balancer, as aws takes care of upgrades, maintenance kes A load balancer distributes workloads across multiple compute resources, Using a load balancer increases the availability and fault tolerance of your applications. Μετα πες τελειες 4-5-6-7-8
  7. ALEX: ALB — Layer 7 (HTTP/HTTPS traffic), Flexible NLB — Layer 4 (TLS/TCP/UDP traffic), Static IPs ALB: Layer-7 load balancer, HTTP and HTTPS listeners only. route traffic based upon rules, host based or path based. NLB: layer 4 (TCP) and distribution of traffic based on network variables, such as IP address and destination ports. Differences: The network load balancer just forward requests the application load balancer examines the contents of the HTTP request to determine where to route the request
  8. DIMOS Lets dive in more details about network in AWS. The first component we should know is VPC. - VPC is a virtual private network dedicated to our AWS account, which allows us to build our own virtual network within AWS. Using cidr_block we can specify that IPv4 address range of the VPC. Because is a private network, only private ip ranges are allowed. - It is logically isolated from other virtual networks in the AWS Cloud. - Also it gives us control over the complete cloud network environment, including subnets, route table configuration, and network gateways. - There is a soft limit of 5 VPCs per region but you can open a ticket to AWS to increase it. - We have to be careful before create vpc and selection cidr, in order not to overlap with our other’s vpc networks
  9. DIMOS Here we have a list of the most important VPC components. Some of them are subnets / IG / NAT GW. We will see each of them in the following slides.
  10. ALEX is a horizontally scaled, redundant, and highly available VPC component that allows communication between your VPC and the internet. serves two purposes: to provide a target in your VPC route tables for internet-routable traffic 2) to perform network address translation (NAT) for instances that have been assigned public IPv4 addresses basically IG allows communication between the instances in the VPC and the internet. meta teleia 3,4
  11. ALEX WE can think of a VPC in AWS as an apartment that separates resources. Subnets are different rooms in your apartment that segment off a slice of the CIDR block you define in your VPC. Subnets allow you to give different access rules and place resources in different containers where those rules should apply, as can be defined as public or private
  12. ALEX A route table is a logical construct within a VPC that contains a set of rules (called routes) that applied to the subnet and used to determine where network traffic is directed. Αναφερε 2-3-4 By entering (0.0.0.0/0) we are creating a route table that will direct all traffic to the internet gateway and associate this route table with the subnets that we created earlier.
  13. DIMOS When we put instances in private subnets, we are not able to reach internet. In order to overcome this issue, AWS provides the NAt GW which allow instances in private subnets to connect to internet But we have to add NAT in public subnets in order to be able to assing to it a public IP (an elastic one). The good thing is that is managed from AWS, compared to old solutions. Also, In order to achieve high availability and fault tolerance we have to add 1NAT per AZ. A single NAT gateway in a single AZ has redundancy within that AZ only, so if there were zonal issues then instances in other AZs would have no route to the internet.
  14. DIMOS Lets see a few things about security in VPC. NACL refers to Network Access Control List, which helps us to provide a layer of security. It sits inside our VPC but outside of our subnets. Its works like a fire wall, which control traffic from and to subnets. A nacl can be assigned to many subnets, however you can not assign a subnet to many nacls. A nacl is composed by a series of rules(deny and allow) that allow traffic of a particular sort (i.e. http, https, ssh etc..) or IP range. We can create many rules and these rules are evaluated in numerical order based on the smallest number first. Finally is stateless, which means that a request checked for inbound rules when it arrives, but also the return traffic is checked too
  15. DIMOS A security group serves as a virtual stateful firewall that controls inbound and outbound network traffic to AWS resources(ALB or Postgres) and Amazon EC2 instances When we create an instance you’ll have to associate it with a security group. Otherwise the VPCs default security group will be allocated. SGs also have rules which can be ip addresses or other sg groups Also SGs are stateful, so the incoming rules applied to outgoing rules
  16. DIMOS Here we can a see a table which contains the main differences among ΝΑCL and SG Network ACLs are applicable at the subnet level, so any instance in the subnet with an associated NACL will follow rules of NACL. That’s not the case with security groups, security groups has to be assigned explicitly to the instance. μετα πες και τις αλλες τελειες.
  17. ALEX
  18. ALEX
  19. DIMOS
  20. DIMOS
  21. ALEX Write infrastructure as code using declarative configuration files and the HashiCorp Configuration Language (HCL) A lot of Modules available to configure quickly and easily resources in AWS, Azure, Google Cloud and others
  22. DIMOS We can see here a diagram of deploying a service in AWS. As you can see we have deployed in a specific region. We have created a VPC, and in order to the service be High Available and fault-tolerance, we deploy the service in multiple AZ. This way if one AZ is down (the data centers in this specific AZ are down) the requests will be routed to the other AZ.