command
module
Version:
v0.0.0-...-ad21eef
Opens a new window with list of versions in this module.
Published: Jul 1, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Simple Go-Docker-AWS project
This a simple Go project, dockerized with Docker, and deployed to AWS
Technologies Used
Dependencies
mkdir .ssh
cd .ssh
ssh-keygen
Executing program
- Download the repository onto your computer and go to project file
git clone https://github.com/sayedh/go-docker-aws
cd go-docker-aws
- Use Docker-machine command to create a free instance in AWS
docker-machine create -d amazonec2 \
--amazonec2-region us-west-1 \
--amazonec2-ami ami-067f8db0a5c2309c0 \
--amazonec2-ssh-keypath ~/.ssh/id_rsa \
aws-new-cli-test
- Build and run the project
eval $(docker-machine env aws-new-cli-test)
docker build -t docker-test .
docker run -d -p 8080:8081 docker-test
- Get your instance Public IPv4 address from AWS
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.