

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: EC2 Instance Configuration: Keys
incomplete
2: EC2 Instances
incomplete
3: AMIs and Instance Types
incomplete
4: Public IPs
incomplete
5: Elastic IPs
incomplete
6: Security Groups
incomplete
7: SSH to Our Server
incomplete
8: Deploy the PatientPing Site
incomplete
9: Open Web Traffic
incomplete
10: Creating and Using Your Own AMI
incomplete
11: Reserved Instances and Savings Plans
incomplete
12: Auto Scaling Groups
incomplete
13: Launch Template
incomplete
14: Launch from Template
incomplete
15: Spot Instances
incomplete
16: Stateful and Stateless Applications
incomplete
17: Optional Cleanup
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
You may start to understand why people sometimes throw up their hands and use an "easier" provider like Vercel or Heroku. Those providers configure all the same things we've done so far, then sell it to you at a (steep) markup.
But if you can handle the basics on your own (and you can), you'll save money and have more control over your infrastructure.
Seriously, some folks are happy to chew through C code full of malloc, calloc, and int *int_list_ptr = (int *)struct_list_of_ints;, but adding a route is too hard? Not you; onward and upward.
Here's a review of the networking flow for us to SSH into our server:
22/tcp from our public IP address.Cost check: No new resources in this lesson. You're using the EC2 instance and Elastic IP you already have; cost remains ~$7.60/mo for the instance plus ~$3.60/mo for the EIP.
SSH into patientping-web and update its message of the day.
nc -zv YOUR.INSTANCE.IP.ADDR 22
# Connection to YOUR.INSTANCE.IP.ADDR port 22 [tcp/ssh] succeeded!
Host patientping
HostName IP_ADDR
User ec2-user
IdentityFile ~/.ssh/patientping-key
echo 'Welcome, PatientPing Server Admin!' | sudo tee /etc/motd > /dev/null
exit
ssh patientping
Run and submit the CLI tests.