BYOVM with AWS EC2
You can deploy an Elestio service on your own AWS account with BYOVM
To do it, you will need to create a VM on AWS EC2, first connect to AWS EC2 dashboard:
https://console.aws.amazon.com/ec2/v2/home#Instances:instanceState=running
There click on "Launch instances" button and select Ubuntu 20
Scroll down to Instance type to select your VM size based on your needs
then scroll down to configure network settings and storage
In network settings you should check the 3 checkboxes to allow SSH, HTTP and HTTPS traffic from internet
In Storage, you can indicate any disk size above 20GB
If you need to provision multiple VMs you can change the nuber of instances in the top right column
Finally click on Launch instance button
If it's your first time deploying a VM you will be asked to create a new key pair
give any key pair name then click on "Create key pair" and SAVE the PEM file preciously on your computer
After few seconds you will see a confirmation message:
There click on View all instances button
We are now back on the list of all VMs in EC2, from here right click on your new instance and click on Connect in the sub menu
There change the user name to root then click on Connect button
You should then see a terminal shell like this
There paste this command into the terminal to activate the remote management for Elestio
sudo mkdir -p /root/.ssh/ && sudo echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAmAlfBn8fy00sHq4DV2lUDNJ73XNwCtSDgHAAEjVt8lVcPOyb+drHK7TmHtF6mIhax/qeFdS/27bqmuu2/+QyXuvG98WL47cJinVkuUNR1bqKfpjwvlGtPkVQTiz2aN9ktY8+RaKoJUg6YrL23wiRgqibRuRYJgG1tIx7O4pUAK8XPsIVw2kvTuaVWu+iQq968KozJP8t1C6U8eqwbV2H8xpMLAsuIA82S1vGkqx42TBLo8XOgQo1ZIoY4dsO+ElvJZ5sqxAg4GB57OIgpaav/2SkKau6Oh4ndkKTJms5kTc2wUm96VVea2eOrOL0TPNQOhb1uy2MgxS9LLFxm2psmQ== elestio-prod-key" >> /root/.ssh/authorized_keys
Then ho back to Elestio Dashboard to create a new BYOVM service
Indicate the provider name, region name and Public IPV4 found in the AWS dashboard then click on "Test my VM"
You'll see the pricing calculated based on the number of CPU/RAM/DISK of your AWS EC2 VM, the first BYOVM service is free!
You can then click on "Create service" and you are done! Your service will be deployed in less than 3 minutes and you will receive an email with instructions but of course the service is also accessible in the dashboard.