Create a PostgreSQL Server Using AWS EC2
  • Introduction
  • AWS EC2: Launching Instance
    • Overview
    • Create Security Group
    • Create Launch Template
    • Option 1: Create Auto Scaling Group
    • Option 2: Create a Single Instance
    • Attach Elastic IP Address
  • Ubuntu 20.04: Configuring PostgreSQL
    • Overview
    • Install PostgreSQL
    • Add Role to PostgreSQL Server
    • Allow Remote Connection
  • Remote Server: Accessing Server on Local Computer
    • Overview
    • Connect with pgAdmin4
    • Connect with Python API
  • AWS EC2: Backup Server
    • Overview
    • Configuring Automatic Backups
  • Next Steps
Powered by GitBook
On this page

Was this helpful?

  1. AWS EC2: Launching Instance

Option 2: Create a Single Instance

Create a single instance from your launch template

PreviousOption 1: Create Auto Scaling GroupNextAttach Elastic IP Address

Last updated 4 years ago

Was this helpful?

If you would prefer to not create an auto scale group for your server, then feel free to launch a single EC2 instance instead! In this section, we will walk through how to spin up a EC2 instance from our launch template.

  1. In the EC2 menu, select "Launch Templates"

  2. Select your launch template

  3. Under "Actions", select "Launch instance from template"

  4. Your launch template settings will appear. You have two options here:

    • Option 1: You can change any of the settings from the launch template

    • For example, you may want to choose an instance type that has more CPUs (EX. m4.xlarge) since you will not be using an auto group to scale for more CPU power.

    • Option 2: Keep the settings from your launch template

  5. After you are satisfied with your settings, select "Launch instance from template"

You've now launch an instance based on your launch template! If you go to "Instances", you should see your new instance being created.