Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Intro to AWS

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

Intro to AWS

Introduction to AWS, with Demo

Avatar for awedis

awedis

May 20, 2023
Tweet

More Decks by awedis

Other Decks in Technology

Transcript

  1. 1

  2. 2 Awedis Keofteian DevOps Engineer at Anghami About Me 

    AWS Community Builder AW Beirut UG Leader linkedin.com/in/awedis
  3. How My Career Started? 2017 2019 2023 Learning / Working

    Introduced to Cloud (AWS) Hosting Providers DevOps Eng. Using Cloud Everyday
  4. Benefits of Cloud Computing • Computing, storage, processing power, and

    software applications, over the internet. Instead of relying on local servers or personal devices. 6
  5. 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
  6. Cloud Service Models • Infrastructure as a Service (IaaS) (AWS)

    • Platform as a Service (PaaS) (Heroku) • Software as a Service (SaaS) (Gmail) 8
  7. Intro to AWS Intro to AWS 10 "Cloud Computing &

    Services" by Awedis Keofteian
  8. March 3, 2006, began offering IT infrastructure First Service: Simple

    Queue Service (SQS) Amazon Web Services Over 200 services 11
  9. Global cloud platform Used by around 80% of Fortune 500

    Companies IT, AI, ML, Web, Mobile services and many more What is AWS? 12
  10. How Much it Costs? • Per hour billing for almost

    everything • Region specific pricing • Pay as you go (for what you use only) 15
  11. 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
  12. Virtual Private Cloud (VPC) • launch AWS resources into a

    virtual network • Subnets • IP addressing • Routing • Gateways and endpoints 18
  13. Elastic Compute Cloud (EC2) • Virtual servers • Configure CPU,

    memory, storage, security and networking • Scale up or down (spikes) (AWS Auto Scaling) 19
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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