update aws

This commit is contained in:
Yannik Schmidt
2021-08-31 22:27:53 +02:00
parent 4086dfaf93
commit 952bd5b6ca
2 changed files with 12 additions and 6 deletions

View File

@@ -48,6 +48,8 @@ The start script (*setup.sh*) performs the following task in this order:
# AWS
The AWS-template setup uses git instead of rsync to pull the server files. The ssh-key fingerprint must be verified in advanced.
- create a keypair called *"flask-ftp"* or change the value of *"KeyName"* in *aws/template.yml* to an existing key pair (see "AWS Network & Security -> Key Pairs" for details)
- create a new stack (CloudFormation -> Stacks -> Create Stack) and upload the template (*aws/template.yml*)
- goto Instances, select Security and click the security group, add inbound for the ports you want to use (e.g. FTP Ports, 80, 443 or 5000, allowing all for simplicity, is reasonably safe too in this case, since there's nothing running on the server except the public services)