Serverless Framework + AWS: automatically creating certificate and domain for your app

This is a guide showing how you can automatically create an SSL certificate on Amazon Certificate Manager (ACM) and configure a subdomain on Route 53 Hosted Zone using Serverless Framework with some wonderful plugins.

Note: I’ll show some scripts using NodeJS, but Serverless Framework can be used on almost any language (to not say literally anywhere).

This is the way how I organize my apps, take this as an example to customize/start.

Deploy

# First deploy PROD stage serverless create-cert --stage=prodserverless deploy --stage=prod

--

--

🇧🇷 Software engineering specialist | AWS Community Builder | ⌨ Works at Via Varejo | @tiagoboeing

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tiago Boeing

🇧🇷 Software engineering specialist | AWS Community Builder | ⌨ Works at Via Varejo | @tiagoboeing