A
A
allienn2021-02-16 11:12:18
Devops
allienn, 2021-02-16 11:12:18

How to dynamically deploy linux VM with PostgreSQL and Java application?

Colleagues, good afternoon! Please tell me on which stack the following can be implemented: the user enters VM parameters in some UI. After that, according to the parameters entered in AWS (possibly in Azure), a VM is deployed with PostgreSQL installed and a Java application connected to PostgreSQL. There are no questions regarding the input of parameters. The questions are precisely in the deployment of the VM and setting up the PostgreSQL - Java bundle:

Where to store images of VM, Postgres, Java applications?
How to copy and run them?
How to monitor all this?

If there is any article on this subject, it would be great

Thanks!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2021-02-16
@inoise

It's worth checking out Terraform. Container images, Golden Image, etc. in the clouds are stored inside the cloud.

V
Vasily Shakhunov, 2021-02-18
@inf

Prepare the VM image with packer . Make AMI .
Then, in terraform, use this image as a base image to create an EC2 instance. Parameters in terraform can be passed through environment variables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question