Skip to content

Instantly share code, notes, and snippets.

View CalmArms's full-sized avatar
🥯

Tom Hewett CalmArms

🥯
  • Habitat Learn
  • Hampshire, UK
View GitHub Profile
@CalmArms
CalmArms / eb-with-custom-domain-and-ssl.md
Last active November 9, 2023 13:39
Serve an Elastic Beanstalk application over HTTPS using a Custom Domain

For this gist I assume you are working with an Elastic Beanstalk Application Environment set up with an Application Load Balancer. I also assume you are wanting to point a subdomain of your custom domain to your EB application. If you have a different setup then this process may not work for you, though there may still be some useful parts. As with most guides on the internet, your mileage may vary.

You will need

  • A running application environment in Elastic Beanstalk
  • Access to modify the DNS records on your custom domain
  • Access to AWS Console with the relevant IAM permissions

Pointing your custom domain to your Elastic Beanstalk Application Environment

@CalmArms
CalmArms / hashed_countrycodes.json
Created August 14, 2018 10:58
Hashed list of ISO 3166-1 alpha-2 Country Codes
{
"AF": "Afghanistan",
"AX": "Åland Islands",
"AL": "Albania",
"DZ": "Algeria",
"AS": "American Samoa",
"AD": "Andorra",
"AO": "Angola",
"AI": "Anguilla",
"AQ": "Antarctica",