☁️ AWS Cloud Project 6


🌐Introduction: In this comprehensive guide, we'll take you through the process of deploying a WordPress website on AWS Lightsail. We'll cover everything from setting up your Lightsail instance to configuring a custom domain and leveraging AWS CloudFront for enhanced performance and security.
☁️Deploy web application on AWS Lightsail
🔗 Tags: AWS, Lightsail, WordPress, Custom Domain, CloudFront, Website Deployment
Title: Step-by-Step Guide: Configuring and Deploying WordPress on AWS Lightsail
Part 1: Deploying WordPress on Lightsail Marketplace
Step 1: Launching a WordPress Instance
Log in to your AWS Management Console.
Navigate to AWS Lightsail and click on "Create instance."
Choose the "WordPress" blueprint from the "Select a blueprint" section.
Configure your instance by selecting the appropriate instance plan and region.
Give your instance a unique name and click "Create instance."

Step 2: Accessing Your WordPress Dashboard
Once your instance is running, click on its name to access the management page.
Find the "Open in browser" option to access your WordPress dashboard.
Complete the initial setup by providing your website's title, admin username, and password.

Assign Static IP

Configuring a Custom Domain on Lightsail
Step 1: Purchasing a Domain (if Needed)
Choose a domain registrar (e.g., GoDaddy) and purchase your desired domain name.
Configure the domain's DNS settings to use AWS Lightsail's DNS servers.

Step 2: Setting Up DNS in Lightsail
In Lightsail, navigate to the "Networking" tab of your instance.
Click "Create DNS zone" and enter your domain name.
Configure DNS records, including A records and CNAME records.

Step 3: Updating WordPress Settings
Log in to your WordPress dashboard.
Go to "Settings" > "General."
Update the "WordPress Address (URL)" and "Site Address (URL)" with your custom domain.
http://44.217.116.136/wp-admin/index.php

Part 3: Configuring AWS CloudFront on AWS Lightsail
Step 1: Creating a CloudFront Distribution
Access the AWS Management Console and navigate to AWS CloudFront.
Click "Create Distribution" and choose the "Web" distribution type.
Configure your distribution settings, including your custom domain as an alternate domain name.

Access Wordpress through browser
Step 2: Updating DNS Records
- In Lightsail DNS, create a CNAME record pointing to your CloudFront distribution domain.
Step 3: Securing CloudFront with HTTPS
In CloudFront settings, select your distribution and click "Edit."
Under the "SSL Certificate" section, choose your custom domain's SSL certificate.

Access wordpress instance through SSH

Custom Domain Registration:
Create and assign static ip
Domain Configuration
Go to Domain & DNS from AWS Lighsail
⚙️ Configure DNS Zone: After confirming, you'll set up your DNS zone. This is like creating a map for your domain to lead visitors to your website.
📝 Add DNS Records: Add essential DNS records – A records, CNAME records, and more. Think of these as signposts guiding visitors to your virtual doorstep.
Create storage bucket for wordpress media

Create Distribution




Create SSL certificate


Attach certificate




CNAME records are automatically added to Domain


STEPS:
Create Lightsail wordpress instance
Create Static Ip
Assign custom domain
For Content distribution:
Create storage bucket
Create distribution
Create SSL Certificate
Attach storage


configuring https

Verify that SSL certificate validated



Conclusion:
You've successfully deployed a WordPress website on AWS Lightsail and configured a custom domain while optimizing performance and security with AWS CloudFront. By following this step-by-step guide, you've taken a significant step towards building a scalable and secure web presence.
🎉 Congratulations on your WordPress deployment with AWS Lightsail! 🚀
🔗 Tags: AWS, Lightsail, WordPress, Custom Domain, CloudFront, Website Deployment
#AWS #AwsCommunityBuilders#CloudEngineering #CloudComputing #AmazonWebServices #AWSArchitecture #DevOps #CloudSolutions #CloudSecurity #InfrastructureAsCode #AWSCertification #Serverless #AWSCommunity #TechBlogs #CloudExperts #CloudMigration #CloudOps #AWSJobs #TechIndustry #CareerInTech #InnovationInCloud #devops #cloudengineerjobs #devopsjobs #azure #gcp #oci #cloudjobs, #kubernetes





