Finished up with Ubuntu
This commit is contained in:
4
README
4
README
@@ -1,4 +1,5 @@
|
|||||||
I am taking this as a test project for docker and terraform too...
|
I am taking this as a test project for docker and terraform too...
|
||||||
|
The Terraform part is on the more "enterprise" side with not only just a public IP on the EC2.
|
||||||
|
|
||||||
for the docker imaging look at: https://www.fosstechnix.com/how-to-create-docker-image-for-node-js-application/
|
for the docker imaging look at: https://www.fosstechnix.com/how-to-create-docker-image-for-node-js-application/
|
||||||
The docker image can be built with
|
The docker image can be built with
|
||||||
@@ -16,4 +17,5 @@ docker run -p 1280:1280 dumbserver
|
|||||||
|
|
||||||
At this stage, terraform will create an ssh accessable server (key is in "terraformtest1.ppk") - tutorial used for that: https://medium.com/@hmalgewatta/setting-up-an-aws-ec2-instance-with-ssh-access-using-terraform-c336c812322f
|
At this stage, terraform will create an ssh accessable server (key is in "terraformtest1.ppk") - tutorial used for that: https://medium.com/@hmalgewatta/setting-up-an-aws-ec2-instance-with-ssh-access-using-terraform-c336c812322f
|
||||||
|
|
||||||
what is required next is to install docker on the server and deploy the image.
|
As part of the terraform, I copy a script to install docker/podman - and upload the image
|
||||||
|
then I set up the container and start it. that's it.
|
||||||
|
|||||||
Reference in New Issue
Block a user