Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Ad icon
Wechat qr verification
Pawan2005
Updated:
Jun 11, 2026
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Jun 10, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
React -Deployment - CI / CD
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Psiko" data-source="post: 29558339" data-attributes="member: 583290"><p>Deploying a full-stack web application with React frontend and Laravel backend using AWS free tier hosting, AWS CodeBuild, Docker Compose, and AWS EC2 involves several steps. Here's a general outline of the process:</p><p></p><ol> <li data-xf-list-type="ol"><strong>Prepare Your Application:</strong><ul> <li data-xf-list-type="ul">Make sure your React frontend and Laravel backend are ready for deployment.</li> <li data-xf-list-type="ul">Ensure your application works locally.</li> </ul></li> <li data-xf-list-type="ol"><strong>Set up Docker Compose:</strong><ul> <li data-xf-list-type="ul">Create a Dockerfile for both the React frontend and Laravel backend.</li> <li data-xf-list-type="ul">Write a docker-compose.yml file to define how your Docker containers will interact.</li> <li data-xf-list-type="ul">Test your Docker setup locally to ensure everything runs smoothly.</li> </ul></li> <li data-xf-list-type="ol"><strong>Configure AWS Resources:</strong><ul> <li data-xf-list-type="ul">Sign in to your AWS Management Console.</li> <li data-xf-list-type="ul">Navigate to the EC2 dashboard and launch a new EC2 instance using the free tier eligible instance type (e.g., t2.micro).</li> <li data-xf-list-type="ul">Allocate an Elastic IP address to your EC2 instance to maintain a static IP address.</li> <li data-xf-list-type="ul">Set up security groups to allow traffic on the necessary ports (e.g., 80 for HTTP, 443 for HTTPS, and any ports required by your application).</li> <li data-xf-list-type="ul">Install Docker and Docker Compose on your EC2 instance.</li> </ul></li> <li data-xf-list-type="ol"><strong>Prepare Your Application for CodeBuild:</strong><ul> <li data-xf-list-type="ul">Set up a CodeBuild project in AWS. This involves creating a build specification (buildspec.yml) that defines how CodeBuild should build your Docker images and push them to Amazon ECR (Elastic Container Registry).</li> </ul></li> <li data-xf-list-type="ol"><strong>Configure Elastic Container Registry (ECR):</strong><ul> <li data-xf-list-type="ul">Create an ECR repository to store your Docker images.</li> </ul></li> <li data-xf-list-type="ol"><strong>Build and Push Docker Images:</strong><ul> <li data-xf-list-type="ul">Configure CodeBuild to build your Docker images based on the Dockerfiles you created earlier.</li> <li data-xf-list-type="ul">Push the built images to your ECR repository.</li> </ul></li> <li data-xf-list-type="ol"><strong>Deploy Your Application:</strong><ul> <li data-xf-list-type="ul">SSH into your EC2 instance.</li> <li data-xf-list-type="ul">Pull the Docker images from your ECR repository to your EC2 instance.</li> <li data-xf-list-type="ul">Use Docker Compose to run your containers on the EC2 instance.</li> </ul></li> <li data-xf-list-type="ol"><strong>Set Up DNS and Domain Name (Optional):</strong><ul> <li data-xf-list-type="ul">If you have a domain name, configure Route 53 or your DNS provider to point to your EC2 instance's Elastic IP address.</li> </ul></li> <li data-xf-list-type="ol"><strong>Test Your Deployment:</strong><ul> <li data-xf-list-type="ul">Access your application using the EC2 instance's public IP address or domain name (if set up).</li> <li data-xf-list-type="ul"><br /> mehm harida</li> </ul></li> </ol><hr /><p></p><p>docker composer seen ekanmkre naha .. man amplify ekt dala route53n domain eka connect kra ... dan site eka weda ... backend eka connect krn one dan</p><p>------ <span style="font-size: 10px">Post added on [DATETIME="UT"]1706699937[/DATETIME]</span></p></blockquote><p></p>
[QUOTE="Psiko, post: 29558339, member: 583290"] Deploying a full-stack web application with React frontend and Laravel backend using AWS free tier hosting, AWS CodeBuild, Docker Compose, and AWS EC2 involves several steps. Here's a general outline of the process: [LIST=1] [*][B]Prepare Your Application:[/B] [LIST] [*]Make sure your React frontend and Laravel backend are ready for deployment. [*]Ensure your application works locally. [/LIST] [*][B]Set up Docker Compose:[/B] [LIST] [*]Create a Dockerfile for both the React frontend and Laravel backend. [*]Write a docker-compose.yml file to define how your Docker containers will interact. [*]Test your Docker setup locally to ensure everything runs smoothly. [/LIST] [*][B]Configure AWS Resources:[/B] [LIST] [*]Sign in to your AWS Management Console. [*]Navigate to the EC2 dashboard and launch a new EC2 instance using the free tier eligible instance type (e.g., t2.micro). [*]Allocate an Elastic IP address to your EC2 instance to maintain a static IP address. [*]Set up security groups to allow traffic on the necessary ports (e.g., 80 for HTTP, 443 for HTTPS, and any ports required by your application). [*]Install Docker and Docker Compose on your EC2 instance. [/LIST] [*][B]Prepare Your Application for CodeBuild:[/B] [LIST] [*]Set up a CodeBuild project in AWS. This involves creating a build specification (buildspec.yml) that defines how CodeBuild should build your Docker images and push them to Amazon ECR (Elastic Container Registry). [/LIST] [*][B]Configure Elastic Container Registry (ECR):[/B] [LIST] [*]Create an ECR repository to store your Docker images. [/LIST] [*][B]Build and Push Docker Images:[/B] [LIST] [*]Configure CodeBuild to build your Docker images based on the Dockerfiles you created earlier. [*]Push the built images to your ECR repository. [/LIST] [*][B]Deploy Your Application:[/B] [LIST] [*]SSH into your EC2 instance. [*]Pull the Docker images from your ECR repository to your EC2 instance. [*]Use Docker Compose to run your containers on the EC2 instance. [/LIST] [*][B]Set Up DNS and Domain Name (Optional):[/B] [LIST] [*]If you have a domain name, configure Route 53 or your DNS provider to point to your EC2 instance's Elastic IP address. [/LIST] [*][B]Test Your Deployment:[/B] [LIST] [*]Access your application using the EC2 instance's public IP address or domain name (if set up). [*] mehm harida [/LIST] [/LIST] [HR][/HR] docker composer seen ekanmkre naha .. man amplify ekt dala route53n domain eka connect kra ... dan site eka weda ... backend eka connect krn one dan ------ [SIZE=2]Post added on [DATETIME="UT"]1706699937[/DATETIME][/SIZE] [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom