Skip to content

Repository files navigation

ISHIP-PROJECT

Deploy a website using multiple AWS services.

Set Up AWS Account:

• Sign in to AWS Management Console or create a new AWS account.

Set Up VPC:

• Create a VPC in the AWS Management Console

• Configure subnets (public and private as needed).

• Set up an Internet Gateway and attach it to the VPC.

• Configure Route Tables to route traffic between subnets and to the Internet Gateway.

Launch EC2 Instance:

• Go to EC2 Dashboard and select "Launch Instance."

• Choose an Amazon Machine Image (AMI) suitable for your website (e.g., Ubuntu, Amazon Linux).

• Select an instance type based on your requirements.

• Configure instance details, ensuring it’s launched in the correct VPC and subnet.

• Add storage if needed.

• Tag your instance for easy identification.

• Configure security groups (allow inbound traffic on HTTP/HTTPS ports, typically 80/443).

Set Up Key Pair:

• Create or use an existing key pair for SSH access to the instance.

• Download the .pem file and keep it secure.

Launch Instance and Access:

• Review and launch the instance.

• Use the key pair to SSH into the instance (e.g., ssh -i your-key.pem ec2-user@your-instance-public-ip).

Configure Web Server:

• Install web server software (e.g., Apache, Nginx) on your EC2 instance.

• Upload your website files to the server.

Test Website:

• Access your website using the public IP address or Elastic IP assigned to your instance.

• Ensure it’s functioning correctly and accessible from the internet.

Create an Elastic Beanstalk Application:

• Open AWS Elastic Beanstalk Console.

• Click “Create Application” and provide application name and platform details.

Create an Environment:

• Choose “Create a new environment” and select the environment type (e.g., Web Server, Worker).

• Configure environment settings (instance type, scaling, etc.).

Deploy Your Application:

• Click “Upload and Deploy” to upload your application’s code package (zip, war, etc.).

• You can also use the AWS CLI with eb create and eb deploy commands.

Access Your Website:

• After deployment, find your application URL in the Elastic Beanstalk Console and test your website.

Create an S3 Bucket:

• Go to the S3 Console.

• Click “Create bucket” and provide a unique name and region.

• Disable "Block all public access" in permissions settings to allow public access.

Upload Website Files:

• Click on your S3 bucket.

• Click “Upload” and add your website files (HTML, CSS, JS, etc.).

• Ensure the files are uploaded to the root or appropriate folder.

Configure Bucket for Website Hosting:

• Go to the bucket properties.

• Under "Static website hosting", enable it and specify the index document (e.g., index.html).

• Optionally, specify an error document (e.g., 404.html).

Access Your Website:

• Obtain the S3 website endpoint from the bucket properties.

• Access your website via the endpoint URL.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors