Create an Archil disk
First, follow the Archil Getting Started Guide to create an Archil disk that you wish to attach to your Firecracker microVM.Install PostgreSQL
The exact instructions for installing PostgreSQL will vary depending on your operating system. For example, on Amazon Linux 2023, you can install PostgreSQL with the following command:systemctl command
/mnt/archil/pgdata.
Connect and use your database
Now that PostgreSQL is running on Archil, you can connect to it and use it normally with thepsql command or from
an application. All of your database files will be stored in Amazon S3 for you to access, and you aren’t charged
for Archil’s high-speed storage when you aren’t accessing your database.
(Optional) Run pgbench benchmarks to validate performance
First, install thepgbench tool.