I'll mention this again, if you're git-blaming this, don't come slap me personally. This code straight ported from another project and we WILL refactor this in the future. This is a temporary solution. OK I guess you can slap me for porting this as is, but still.

This commit is contained in:
2023-09-03 17:27:00 +03:00
parent afce9e90a6
commit 6fc7bbd830
3 changed files with 22 additions and 3 deletions

View File

@@ -53,3 +53,13 @@ One example of the modern output is shown bellow:
![Deletion 2](../../videos/demo/gce-instance-ssh.gif)
You can also specify a port with the `--port` flag.
## Instance creation and hardening for aws
`python3 secdep.py -P aws -c -n test-node -s t3.micro -i ami-08869bacfa1188ec9 --yes --deploy`
## Instance creation and hardening for aws while deploying a docker-compose file and nginx docker image
`python3 secdep.py -P aws -c -n test-node -s t3.micro -i ami-08869bacfa1188ec9 --yes --docker_compose --deploy nginx`
(The docker-compose.yml file has to be in the same directory as the script and be names `docker-compose,yml`)