From 75c3162f255d5076a891c1d95805e1c3315341d9 Mon Sep 17 00:00:00 2001 From: Mitchell Date: Tue, 28 Apr 2020 20:47:55 -0500 Subject: [PATCH] Removed HTTPS portion since ec2-ssl.sh file is no longer available at the supplied link. --- AWS-EC2.md | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/AWS-EC2.md b/AWS-EC2.md index da6319e..40613d9 100644 --- a/AWS-EC2.md +++ b/AWS-EC2.md @@ -69,31 +69,6 @@ aws ec2 run-instances \ --key-name $KEY \ --security-group-ids $GROUPS ``` -## Create EC2 with Automatic SSL Certification -Start a Statping server with an SSL cert that will automatically regenerate when it's near expiration time. You'll need to point your domain's A record (IP address) or CNAME (public DNS endpoint) to use this feature. - -```bash -wget https://raw.githubusercontent.com/statping/statping/master/dev/ec2-ssl.sh -``` - -```bash -# edit the contents inside of ec2-ssl.sh then continue -LETSENCRYPT_HOST="status.MYDOMAIN.com" -LETSENCRYPT_EMAIL="noreply@MYEMAIL.com" -``` -Edit ec2-ssl.sh and insert your domain you want to use, then run command below. Use the Security Group ID that you used above for --security-group-ids -``` -GROUPS=sg-7e8b830f -AMI_IMAGE=ami-7be8a103 -KEY=MYKEYHERE - -aws ec2 run-instances \ - --user-data file://ec2-ssl.sh \ - --image-id $AMI_IMAGE \ - --count 1 --instance-type t2.nano \ - --key-name $KEY \ - --security-group-ids $GROUPS -``` ### EC2 Server Specs - t2.nano ($4.60 monthly)