LAB: Configure AWS Lightsail WordPress instance to work with your distribution using end-to-end encryption
An Amazon Lightsail content delivery network (CDN) distribution caches your website or web application content at worldwide locations. A Lightsail distribution uses a globally distributed network of servers, also known as edge locations, to provide faster delivery of your content to your users.
All Lightsail distributions have HTTPS enabled by default for their default domain (e.g., 123456abcdef.cloudfront.net). When you configure a WordPress instance that uses HTTPS as the origin of your distribution, you can configure your distribution to forward all content requests to your instance using an encrypted connection. The connection between your website visitors and your distribution is encrypted (using HTTPS), and so is the connection between your distribution and your instance. This configuration is known as end-to-end encryption. To enable this configuration, you must configure your distribution’s origin protocol policy to HTTPS only.
|Lab Admin||Derrick Park|
|Title||Configure AWS Lightsail WordPress instance to work with your distribution using end-to-end encryption|
|Description||AWS Lightsail end-to-end encryption|
|Budget||Free first year. Starting @ $2.50/ month thereafter for 50 GB transfer.|
Creating SSL/TLS certificates for your distribution in Amazon Lightsail
Create a Lightsail SSL/TLS certificate for your domain to use it with your distribution. Lightsail distributions require HTTPS, so you must request an SSL/TLS certificate for your domain before you can use it with your distribution.
Enabling custom domains for your Amazon Lightsail distributions
Enable custom domains for your distribution to use your domain with your distribution. Enabling custom domains requires that you specify the Lightsail SSL/TLS certificate that you created for your domain. This adds your domain to your distribution and enables HTTPS.
Pointing your domains to your Amazon Lightsail distributions
Add an alias record to your domain’s DNS to begin routing traffic for your domain to your distribution. After you add the alias record, users who visit your domain are routed through your distribution.
Testing your Amazon Lightsail distribution
Test that your distribution is caching your content.