Slide 1

Slide 1 text

1

Slide 2

Slide 2 text

2 Awedis Keofteian DevOps Engineer at Anghami About Me  AWS Community Builder AW Beirut UG Leader linkedin.com/in/awedis

Slide 3

Slide 3 text

Introduction to Cloud Ecosystem Introduction to AWS Different Ways of Deployment on AWS - Demo Agenda 3

Slide 4

Slide 4 text

How My Career Started? 2017 2019 2023 Learning / Working Introduced to Cloud (AWS) Hosting Providers DevOps Eng. Using Cloud Everyday

Slide 5

Slide 5 text

Cloud Ecosystem Cloud Ecosystem "Cloud Computing & Services" by Awedis Keofteian 5

Slide 6

Slide 6 text

Benefits of Cloud Computing • Computing, storage, processing power, and software applications, over the internet. Instead of relying on local servers or personal devices. 6

Slide 7

Slide 7 text

What is the Cloud? • Scalability and flexibility • Cost-effectiveness and pay-as-you-go model • Increased accessibility and mobility • Improved collaboration and productivity • Enhanced security and data protection 7

Slide 8

Slide 8 text

Cloud Service Models • Infrastructure as a Service (IaaS) (AWS) • Platform as a Service (PaaS) (Heroku) • Software as a Service (SaaS) (Gmail) 8

Slide 9

Slide 9 text

Why Cloud? How is this done on Cloud? 9

Slide 10

Slide 10 text

Intro to AWS Intro to AWS 10 "Cloud Computing & Services" by Awedis Keofteian

Slide 11

Slide 11 text

March 3, 2006, began offering IT infrastructure First Service: Simple Queue Service (SQS) Amazon Web Services Over 200 services 11

Slide 12

Slide 12 text

Global cloud platform Used by around 80% of Fortune 500 Companies IT, AI, ML, Web, Mobile services and many more What is AWS? 12

Slide 13

Slide 13 text

Global Infrastructure • Regions (26) | Availability Zones (AZ) (84) 13

Slide 14

Slide 14 text

Global Infrastructure 14

Slide 15

Slide 15 text

How Much it Costs? • Per hour billing for almost everything • Region specific pricing • Pay as you go (for what you use only) 15

Slide 16

Slide 16 text

How Price Changes? • Cost of land • Fiber • Electricity • Taxes 16

Slide 17

Slide 17 text

Services Overview • VPC (Virtual Private Cloud) • EC2 (Elastic Compute Cloud) • S3 (Simple Storage Service) • Relational Database Service (RDS) • Lambda • API Gateway • SQS (Simple Queue Service) 17

Slide 18

Slide 18 text

Virtual Private Cloud (VPC) • launch AWS resources into a virtual network • Subnets • IP addressing • Routing • Gateways and endpoints 18

Slide 19

Slide 19 text

Elastic Compute Cloud (EC2) • Virtual servers • Configure CPU, memory, storage, security and networking • Scale up or down (spikes) (AWS Auto Scaling) 19

Slide 20

Slide 20 text

Security Group (SG) • Virtual firewall for your EC2 instances to control incoming and outgoing traffic • Inbound & Outbound Traffic • Protocol (HTTP, TCP, UDP …) • Port Range (80, 22, 443) • Source (IP Address) 20

Slide 21

Slide 21 text

Architecture (VPC - EC2 - SG) 21

Slide 22

Slide 22 text

Simple Storage Service (S3) • Object storage service • Different use cases (data lakes, websites, mobile applications, backup, archive …) • Buckets & Objects S3 Glacier Deep Archive S3 Glacier S3 Intelligent- Tiering S3 Standard S3 One Zone-IA S3 Standard-IA S3 on Outposts 22

Slide 23

Slide 23 text

RDS VS. DynamoDB (SQL VS. NoSQL) • Managed SQL database service • Several database engines (MySQL, PostgreSQL, MariaDB, Oracle etc…) • DynamoDB is key-value NoSQL database • Serverless, in-memory caching etc… 23

Slide 24

Slide 24 text

Identity and Access Management (IAM) • Granular permissions • Multi-factor authentication (MFA) • Secure access to AWS resources • User • Role • Policy (Object in AWS that, when associated with an identity or resource, defines their permissions.) 24

Slide 25

Slide 25 text

Identity and Access Management (IAM) { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:*", "s3-object-lambda:*" ], "Resource": "*" } ] } "s3:PutObject" "s3:PutObjectAcl" "s3:GetObject" "s3:GetObjectAcl" "s3:DeleteObject“ "ec2:DescribeInstances", "ec2:DescribeImages", "ec2:DescribeTags", "ec2:DescribeSnapshots" 25

Slide 26

Slide 26 text

Ways to Access • AWS Management Console • Browser-based interface • AWS Command Line Tools • AWS CLI / AWS Tools for Windows PowerShell • AWS SDKs • software development kits • Java, Python, Ruby, .NET, iOS, Android, etc. • IAM Query API • HTTPS requests 26

Slide 27

Slide 27 text

Ways of Deploy Ways of Deploy 27 "Cloud Computing & Services" by Awedis Keofteian

Slide 28

Slide 28 text

Application Comparison S3 EC2 RDS Container 28

Slide 29

Slide 29 text

Serverless S3 RDS 29

Slide 30

Slide 30 text

Workshop Workshop 30 "Cloud Computing & Services" by Awedis Keofteian linkedin.com/in/awedis

Slide 31

Slide 31 text

1st Workshop • EC2 – (Allow HTTP, SSH, MySQL) (80, 22, 3306) • Once we SSH (Start downloading everything needed) • Nginx (Web Server), Node.js, npm, git • PM2 is a daemon process manager that will help you manage and keep your application online • Key (.pem) 31