Skip to content

Commit

Permalink
added images to rds step 1
Browse files Browse the repository at this point in the history
  • Loading branch information
shreya-ahujaa committed May 24, 2023
1 parent 66a8ef7 commit 3b2075d
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions _notebooks/2023-05-16-RDStutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,19 @@
"\n",
"Create an Amazon EC2 instance that you will use to connect to your database.\n",
"\n",
"*To create an EC2 instance*\n",
"*To create EC2 instance*\n",
"1. Sign in to the AWS Management Console and open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.\n",
"2. In the upper-right corner of the AWS Management Console, choose the AWS Region in which you want to create the EC2 instance.\n",
"3. Choose EC2 Dashboard, and then choose Launch instance, as shown in the following image (The Launch an instance page opens)\n",
"<img src=\"https://docs.aws.amazon.com/images/AmazonRDS/latest/UserGuide/images/Tutorial_WebServer_11.png\">\n",
"\n",
"\n",
"4. Choose the following settings on the Launch an instance page.\n",
" - Under Name and tags, for Name, enter ec2-database-connect.\n",
" - Under Application and OS Images (Amazon Machine Image), choose Amazon Linux, and then choose the Amazon Linux 2023 AMI. Keep the default selections for the other choices.)\n",
" <br>\n",
" <img src=\"https://docs.aws.amazon.com/images/AmazonRDS/latest/UserGuide/images/Tutorial_WebServer_12.png\">\n",
"\n",
" - Under Instance type, choose t2.micro.\n",
" - Under Key pair (login), choose a Key pair name to use an existing key pair. To create a new key pair for the Amazon EC2 instance, choose *Create new key pair* and then use the *Create key pair* window to create it.\n",
" - For Allow SSH traffic in Network settings, choose the source of SSH connections to the EC2 instance.\n",
Expand All @@ -74,22 +80,25 @@
" - *WARNING*: If you use 0.0.0.0/0 for SSH access, you make it possible for all IP addresses to access your public EC2 instances using SSH. This approach is acceptable for a short time in a test environment, but it's unsafe for production environments. In production, authorize only a specific IP address or range of addresses to access your EC2 instances using SSH.\n",
"\n",
" - Example for Network Settings Section:\n",
" insert image here\n",
" <img src=\"https://docs.aws.amazon.com/images/AmazonRDS/latest/UserGuide/images/EC2_RDS_Connect_NtwkSettings.png\">\n",
"\n",
" - Leave the default values for the remaining sections.\n",
" - Review a summary of your EC2 instance configuration in the *Summary* panel, and when you're ready, choose *Launch instance*.\n",
"\n",
"5. On the Launch Status page, note the identifier for your new EC2 instance, for example: i-1234567890abcdef0.\n",
"insert image here\n",
" <img src=\"https://docs.aws.amazon.com/images/AmazonRDS/latest/UserGuide/images/getting-started-ec2-id.png\">\n",
"\n",
"\n",
"6. Choose the EC2 instance identifier to open the list of EC2 instances, and then select your EC2 instance.\n",
"\n",
"7. In the *Details* tab, note the following values, which you need when you connect using SSH:\n",
" - In *Instance summary*, note the value for *Public IPv4 DNS*.\n",
" insert image here\n",
" <img src=\"https://docs.aws.amazon.com/images/AmazonRDS/latest/UserGuide/images/easy-create-ec2-public-dns.png\">\n",
"\n",
"\n",
" - In *Instance details*, note the value for *Key pair name*.\n",
" insert image here\n",
" <img src=\"https://docs.aws.amazon.com/images/AmazonRDS/latest/UserGuide/images/easy-create-ec2-key-pair.png\">\n",
"\n",
"\n",
"8. Wait until the Instance state for your EC2 instance has a status of *Running* before continuing."
]
Expand Down

0 comments on commit 3b2075d

Please sign in to comment.