- Purchase a domain name, externally or through Route53
- Add it to Route53, so that Route53 manages the DNS records for the domain name
- Request a wildcard certificate
*.domain.tld
, either externally or using Amazon Certificate Manager (ACM)- Using Domain validation is the easier, and suggested, approach if using ACM. There should be a link after requesting the certificate in ACM.
- If you don't want to get a wildcard certificate you need to request
api.domain.tld
andauth.domain.tld
certificates. If you plan to run multiple Bosslets under the given domain then the certificates will be something likeapi.sub.domain.tld
andauth.sub.domain.tld
, though you can modify the Bosslet configurationEXTERNAL_FORMAT
value to be whatever you want.
- Wait until the certificate request has been verificated and the SSL certificate is issued
- If you used ACM then you don't need to do anything else
- If you requested the certificate externally you need to import the certificate and private key into ACM so that AWS resources can use the SSL certificate
Any Bosslet using the domain can now lookup the certificate(s) needed and attach them to the load balancers to provide HTTPS traffic
Decide if you plan to use Scalyr for capture and view logs. You can register for a free 30 day trial on their www.scalyr.com
To setup scalyr with a new account Create a new Trial Account at www.scalyr.com After verifying your account's email address Select the drop-down menu under your accounts name in the top right corner -> choose "API Keys" You'll want the Log Access Key for Writes
in boss-manage/salt_stack/pillar create a new file scalyr.sls
# Scalyr values common to all VM images.
scalyr:
log_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Then paste in the Log Access Key for Writes into your account. You'll need to do this before building AMIs with packer
If you do not want to use Scaylr, there is nothing you need to do.