Deploying to a domain with ACM certificate

As we have already issued the ACM certificate, now let's configure our application to the desired domain and perform the deployment process. Zappa provides a domain attribute to configure the domain name for the application and certificate_arn for the ACM certificate. You need to configure these two attributes in zappa_settings.json

Before that, we need to get the value of certificate_arn, as it is the ARN (Amazon Resource Name) generated by ACM for the domain for which we had issued the certificate. You can get the value of the ARN from the ACM dashboard by expanding the domain section, as shown in the following screenshot:

You can see the ARN at the bottom right of the screen. Now, copy the ...

Get Building Serverless Python Web Services with Zappa now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.