Tuesday, August 25, 2015

Installing AWS CLI Tools

Not all of AWS features are available in the web console. AWS CLI tools is necessary for calling some of the APIs.

Instructions here: https://github.com/aws/aws-cli

AWS S3 Static Website HTTPS

While it is possible to host static websites on AWS S3, additional steps are necessary to enable SSL with your own custom domain.

In order to do that, you will need to create a CloudFront distribution (CloudFront is a CDN service).

The toughest part is uploading the SSL cert, which has to be done by command line API. Guide here: http://knightlab.northwestern.edu/2015/05/21/implementing-ssl-on-amazon-s3-static-websites/

More details on uploading SSL cert: http://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingServerCerts.html

Commands for uploading cert: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs_manage.html#UploadSignedCert

Note: remember to specify path

References: