AWS Classroomnotes 15/Feb/2023

EC2

  • Components of EC2

    • CPU and RAM
      • Instance Size: We select cpu count and RAM size
      • Instance Family: Hardware specifications (Intel/AMD)
      • Purpose: Choose the best size by identifying purpose
    • Storage (Virtual Disk = Elastic Block Storage)
      • Speed and Size: EBS Volume type and Size
      • Where it should exist: EBS volume and Instance Storage
    • OS: Amazon Machine Image
    • Remote Connection:

      • Windows:
        • RDP (Remote Desktop Protocol): RDP helps connecting windows servers using ipaddress & username, password
      • Linux:
        • SSH (Secure Shell): SSH helps connection Linux Servers
      • Authentication Types:
        • Password Based Authentication: In AWS Password Based Authentication for ec2 instances is disble by default.
        • Key Based Authentication: Key Based Authentication

Preview

  • Key Based Authentication:
    • AWS Uses Private Key and Public Key based on RSA and ED
    • Private key can be downloaded in two formats
      • pem (used by any ssh client)
      • ppk (used by putty based clients)
  • Lets create a key pair
    Preview
    Preview
    Preview
    Preview
  • Lets Create a Windows 2019 Server
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • Now lets connect to the remote machine
    Preview
    Preview
    Preview
    Preview
    Preview
  • To connect to remote desktop open run command mstsc -v <public ip>
    Preview
    Preview
    Preview
  • For Cleanup: Terminate instance.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner