Installing TimescaleDB from a pre-build cloud image
- Make sure you have an [Amazon Web Services account][aws-signup], and are signed in to [your EC2 dashboard][aws-dashboard].
- Navigate to
Images → AMIs. - In the search bar, change the search to
Public imagesand type Timescale search term to find all available TimescaleDB images. - Select the image you want to use, and click
Launch instance from image. <img class="main-content__illustration" width={1375} height={944} src="https://assets.timescale.com/docs/images/aws_launch_ami.webp" alt="Launch an AMI in AWS EC2"/>
After you have completed the installation, connect to your instance and configure your database. For information about connecting to the instance, see the AWS [accessing instance documentation][aws-connect]. The easiest way to configure your database is to run the timescaledb-tune script, which is included with the timescaledb-tools package. For more information, see the [configuration][config] section.
After running the timescaledb-tune script, you need to restart the Postgres service for the configuration changes to take effect. To restart the service, run sudo systemctl restart postgresql.service.