Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imharshag/aws-ec2-web
This guide provides a comprehensive step-by-step process for launching a server and hosting a website using Apache HTTP Server on an Amazon EC2 instance. We will use MobaXterm for remote server access, command execution, file transfer, and performance monitoring.
https://github.com/imharshag/aws-ec2-web
aws cloudcomputing css ec2 html javascript mobaxtream website
Last synced: 3 days ago
JSON representation
This guide provides a comprehensive step-by-step process for launching a server and hosting a website using Apache HTTP Server on an Amazon EC2 instance. We will use MobaXterm for remote server access, command execution, file transfer, and performance monitoring.
- Host: GitHub
- URL: https://github.com/imharshag/aws-ec2-web
- Owner: imharshag
- Created: 2024-05-15T02:45:13.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-19T03:23:18.000Z (8 months ago)
- Last Synced: 2024-11-17T02:18:15.540Z (2 months ago)
- Topics: aws, cloudcomputing, css, ec2, html, javascript, mobaxtream, website
- Language: CSS
- Homepage: https://imharshag.github.io/AWS-EC2-Web/
- Size: 3.85 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hosting a Website Using MobaXterm in AWS - EC2
### Overview
🌐🛠️ Launching a server and hosting a website with Apache HTTP Server using MobaXterm involves several steps, including provisioning an Amazon EC2 instance, configuring the instance with Apache HTTP Server, and deploying the website files. MobaXterm facilitates remote access and management of the server, allowing users to execute commands, transfer files, and monitor the server's performance. This guide provides a step-by-step overview of the process.![Space Prospection](images/preview.png)
### Preview of Website
Click here! to visit the [Website!](https://imharshag.github.io/AWS-EC2-Web/).### Hosting a Website with Apache HTTP Server Using MobaXterm
***Step 1: Provisioning an Amazon EC2 Instance***
- Log in to the AWS Management Console and navigate to the EC2 dashboard.
- Click on the "Launch Instance" button to initiate the instance creation process.
- Choose an Amazon Machine Image (AMI), such as Amazon Linux, as the operating system for the instance.
- Select an instance type based on your requirements, ensuring sufficient CPU, memory, and storage resources.
- Configure instance details, including network settings, security groups, and key pairs for SSH access.
- Review and launch the instance, then select an existing key pair or create a new one for SSH access.
***Step 2: Connecting to the EC2 Instance with MobaXterm***
- Open MobaXterm and create a new SSH session by entering the public IP address or DNS name of the EC2 instance.
- Use the key pair generated during instance creation to authenticate the SSH session.
- Once connected, users can execute commands on the EC2 instance's terminal directly from MobaXterm's interface.***Step 3: Installing and Configuring Apache HTTP Server***
- Update the package repository on the EC2 instance by running the command: sudo yum update -y.
- Install Apache HTTP Server using the command: sudo yum install httpd -y.
- Start the Apache service and enable it to start automatically on boot with the commands:
- start service httpd***Step 4: Deploying the Website Files***
- Transfer the website files to the EC2 instance using MobaXterm's SFTP feature or SCP command.
- Place the website files in the directory configured in Apache's configuration file, typically located at /var/www/html.
- Ensure that the website files have the correct permissions set to be accessible by Apache.***Step 5: Accessing the Website***
- Open a web browser and enter the public IP address or DNS name of the EC2 instance.
- If configured correctly, the website hosted on Apache HTTP Server should be accessible and displayed in the browser.### Contact Information
For inquiries or feedback, please contact **[Harsha G](mailto:[email protected])**### Contributing
🛠️ Contributions are welcome! Feel free to open an issue or submit a pull request with any improvements or bug fixes.