AWS Launch Template exercise

AWS launch template for an apache website

Daily AWS:

CloudTrail vs CloudWatch vs AWS Config?

How to create Launch Template:

  1. In EC2 dashboard, click "Launch Templates"
  2. Click the Create Launch Template button
  3. Give launch template name
  4. Click search for image and pick Ubuntu Server AMIs. (MAKE SURE ITS 64 bit x86 and NOT 64 bit ARM)
    1. (although ARM seems interesting for AI workloads)
  5. For instance type, let's always pick smallest to avoid those aws fees
  6. Under network setting, select security group that allows inbound HTTP access. Make sure you use least privilege security principles.
  7. Expand the Advanced Details section, go to the User Data field by scrolling down. and write this to launch your first apache website:
#!/bin/bash
apt-get update
apt-get install -y apache2
echo "Welcome to RICHARD'S WEBSITE" > index.html
cp index.html /var/www/html
  1. Click Launch TEmplate button
  2. Click the Launch Instance From This Template link
  3. Under Source Template Version, select 1 (Default).
  4. Click the Launch INstance from Template button.
  5. After the instance boots, browse to its public IP. Now you can see "Welcom to RICHARD'S WEBSITE"
  6. Terminate the instance when you're done (unless you hate money)

Carboncopies new contents:

Whole Brain Emulation Success Criteria Meeting Part 1/2

Whole Brain Emulation Success Criteria Meeting Part 2/2