Project: Production Web Service Deployment with Ansible & AWS
VerifiedAdded on 2023/04/25
|27
|1213
|365
Project
AI Summary
This project focuses on designing and deploying a production web service using Ansible and AWS. The process involves installing Ansible, setting up Open Stack, and configuring Apache2. Elastic Load Balancing is implemented using AWS, along with Route 53 for DNS management. Monitoring and maintainability strategies are discussed, including setting up VPC, availability zones, and a Bastion Host for secure access. SNS is configured for alerts, and RDS is utilized for database services. The project culminates in the successful deployment of a web service accessible via HTTPS on port 443, redirected to port 8080, with included output screenshots demonstrating the setup and functionality. Desklib provides comprehensive resources for students, including solved assignments and past papers.

Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.

Table of Contents
Introduction...........................................................................................................................................3
Ansible Installation................................................................................................................................3
Open Stack installation.........................................................................................................................6
Apache2 Installation.............................................................................................................................6
Elastic Load balancing with AWS and Ansible......................................................................................17
AWS.....................................................................................................................................................20
Route 53 for DNS.................................................................................................................................20
Monitoring and maintainability...........................................................................................................21
Creating VPC wizard in AWS................................................................................................................21
Region of availability zone...................................................................................................................22
Bastion Host for RDP to the Web server..............................................................................................23
SNS for alerts in AWS...........................................................................................................................23
RDS......................................................................................................................................................24
Output screenshots.............................................................................................................................24
Conclusion...........................................................................................................................................27
Introduction...........................................................................................................................................3
Ansible Installation................................................................................................................................3
Open Stack installation.........................................................................................................................6
Apache2 Installation.............................................................................................................................6
Elastic Load balancing with AWS and Ansible......................................................................................17
AWS.....................................................................................................................................................20
Route 53 for DNS.................................................................................................................................20
Monitoring and maintainability...........................................................................................................21
Creating VPC wizard in AWS................................................................................................................21
Region of availability zone...................................................................................................................22
Bastion Host for RDP to the Web server..............................................................................................23
SNS for alerts in AWS...........................................................................................................................23
RDS......................................................................................................................................................24
Output screenshots.............................................................................................................................24
Conclusion...........................................................................................................................................27

Introduction
The main aim of this project to implementing the design and deploy a production web
service. Creating the web service can be using the application tools on virtual machine
ubuntu ansible tools platform. Can be find the sample web page from the web service
deployed using HTTPS port 443 and redirected to port 8080 will be investigated.
Ansible Installation
The main aim of this project to implementing the design and deploy a production web
service. Creating the web service can be using the application tools on virtual machine
ubuntu ansible tools platform. Can be find the sample web page from the web service
deployed using HTTPS port 443 and redirected to port 8080 will be investigated.
Ansible Installation

Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.


Open Stack installation
Apache2 Installation
First, user needs to update the Ubuntu virtual machine. After, install Apache web server.
Apache2 Installation
First, user needs to update the Ubuntu virtual machine. After, install Apache web server.

Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser



Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.



Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser



Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.

Elastic Load balancing with AWS and Ansible
Load balancer with an audience that acknowledges HTTP asks for on port 80, you can
include an audience that acknowledges HTTPS asks for on port 443. In the event that you
determine that the HTTPS audience sends solicitations to the occurrences on port 80, the
heap balancer ends the SSL solicitations and correspondence from the heap balancer to the
examples isn't encoded. In the event that the HTTPS audience sends solicitations to the
examples on port 443, correspondence from the heap balancer to the occurrences is
scrambled.
Get the Amazon Resource Name (ARN) of the SSL declaration,
Connecting the HTTP certificate port link is,
Load balancer with an audience that acknowledges HTTP asks for on port 80, you can
include an audience that acknowledges HTTPS asks for on port 443. In the event that you
determine that the HTTPS audience sends solicitations to the occurrences on port 80, the
heap balancer ends the SSL solicitations and correspondence from the heap balancer to the
examples isn't encoded. In the event that the HTTPS audience sends solicitations to the
examples on port 443, correspondence from the heap balancer to the occurrences is
scrambled.
Get the Amazon Resource Name (ARN) of the SSL declaration,
Connecting the HTTP certificate port link is,

Utilize the accompanying make stack balancer-audience members order to add an audience to
your heap balancer that acknowledges HTTPS asks for on port 443 and sends the solicitations
to the occurrences on port 80 utilizing HTTP:
You can utilize the accompanying portray stack balancers direction to see the refreshed
subtleties of your Load balancer of the port 443,
Coming up next is a model reaction.
HTTPS audience was made utilizing the default security strategy. On the off chance that you
need to indicate an alternate predefined security strategy or a custom security arrangement,
utilize the make stack balancer-approach and set-stack balancer-strategies of-audience
directions.
your heap balancer that acknowledges HTTPS asks for on port 443 and sends the solicitations
to the occurrences on port 80 utilizing HTTP:
You can utilize the accompanying portray stack balancers direction to see the refreshed
subtleties of your Load balancer of the port 443,
Coming up next is a model reaction.
HTTPS audience was made utilizing the default security strategy. On the off chance that you
need to indicate an alternate predefined security strategy or a custom security arrangement,
utilize the make stack balancer-approach and set-stack balancer-strategies of-audience
directions.

To set up back-end case validation, utilize the set-stack balancer-approaches for-
backend-server end.
backend-server end.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

AWS
Amazon Web Services offers an expansive arrangement of worldwide cloud-based items
including process, stockpiling, databases, investigation, organizing, versatile, engineer
instruments, the board devices, IoT, security, and undertaking applications: on-request,
accessible in a flash, with pay-as-you-go valuing. From information warehousing to
arrangement devices, indexes to content conveyance, more than 140 AWS administrations
are accessible.
Route 53 for DNS
Open the Route 53 comfort at https://console.aws.amazon.com/route53/.
Amazon Web Services offers an expansive arrangement of worldwide cloud-based items
including process, stockpiling, databases, investigation, organizing, versatile, engineer
instruments, the board devices, IoT, security, and undertaking applications: on-request,
accessible in a flash, with pay-as-you-go valuing. From information warehousing to
arrangement devices, indexes to content conveyance, more than 140 AWS administrations
are accessible.
Route 53 for DNS
Open the Route 53 comfort at https://console.aws.amazon.com/route53/.

In the route sheet, pick Registered Domains.
Pick Transfer Domain.
On the Transfer area to Route 53 page, pick Transfer different spaces to Route 53.
For every area that you need to exchange, enter the space name and the approval code
in the accompanying arrangement.
When you've entered every one of the spaces that you need to exchange, pick
Continue.
The Check space transferability page records the areas that you entered on the past
page and whether every area can be exchanged. You have the accompanying
alternatives:
On the off chance that all areas are transferable
Pick Add transferable areas to truck.
Monitoring and maintainability
Structuring web service can be beginning of organization process can be following the
steps can be Perform database composition can be kept up on upgrade.
For every level (web server)
Disable monitoring
enable monitoring
Wait for service to SNS alerts checks
Creating VPC wizard in AWS
Open the Amazon VPC comfort at https://console.aws.amazon.com/vpc/.
In the route sheet, click VPC Dashboard. In the event that you don't as of now have any
VPC assets, find the Your Virtual Private Cloud region of the dashboard and snap Get
started making a VPC. Something else, click Start VPC Wizard.
Select the second alternative, VPC with a Single Public Subnet, and after that click
Select.
Enter the accompanying data into the wizard and snap Create VPC.
Pick Transfer Domain.
On the Transfer area to Route 53 page, pick Transfer different spaces to Route 53.
For every area that you need to exchange, enter the space name and the approval code
in the accompanying arrangement.
When you've entered every one of the spaces that you need to exchange, pick
Continue.
The Check space transferability page records the areas that you entered on the past
page and whether every area can be exchanged. You have the accompanying
alternatives:
On the off chance that all areas are transferable
Pick Add transferable areas to truck.
Monitoring and maintainability
Structuring web service can be beginning of organization process can be following the
steps can be Perform database composition can be kept up on upgrade.
For every level (web server)
Disable monitoring
enable monitoring
Wait for service to SNS alerts checks
Creating VPC wizard in AWS
Open the Amazon VPC comfort at https://console.aws.amazon.com/vpc/.
In the route sheet, click VPC Dashboard. In the event that you don't as of now have any
VPC assets, find the Your Virtual Private Cloud region of the dashboard and snap Get
started making a VPC. Something else, click Start VPC Wizard.
Select the second alternative, VPC with a Single Public Subnet, and after that click
Select.
Enter the accompanying data into the wizard and snap Create VPC.

It takes a few minutes for the VPC to be made. After the VPC is made, continue to the
accompanying area to include a subnet.
Region of availability zone
The region of areas is made out of AWS Regions and Availability Zones. Each AWS
Region is a different geographic territory. Each AWS Region has various, secluded areas
known as Availability Zones. Amazon RDS gives you the capacity to put assets, for example,
cases, and information in various areas.
Example of AWS its supports for RDS endpoints can be listed in this table
accompanying area to include a subnet.
Region of availability zone
The region of areas is made out of AWS Regions and Availability Zones. Each AWS
Region is a different geographic territory. Each AWS Region has various, secluded areas
known as Availability Zones. Amazon RDS gives you the capacity to put assets, for example,
cases, and information in various areas.
Example of AWS its supports for RDS endpoints can be listed in this table
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.

Bastion Host for RDP to the Web server
Make an EC2 occasion on AWS. I pick a miniaturized scale measured example since
it is on the complementary plan and its solitary reason for existing is to get to different
servers.
Create a security gather for the Bastion has that opens up port 80 for SSH and select
"My IP" as the source.
Change the security gatherings of existing examples with the goal that any inbound
SSH is just open by means of the Bastion host's IP address.
Edit your nearby ~/.ssh/config record
SSH into the Bastion Host and after that attempt to SSH into any of your current
AWS server cases and voilà! You currently have a progressively secure method for
getting into your servers since they are presently just available from the Bastion.
SNS for alerts in AWS
Amazon Simple Notification Service (SNS) is a very accessible, solid, secure,
completely overseen bar/sub informing administration that empowers you to decouple web
services, disseminated frameworks, and server less applications.
Make an EC2 occasion on AWS. I pick a miniaturized scale measured example since
it is on the complementary plan and its solitary reason for existing is to get to different
servers.
Create a security gather for the Bastion has that opens up port 80 for SSH and select
"My IP" as the source.
Change the security gatherings of existing examples with the goal that any inbound
SSH is just open by means of the Bastion host's IP address.
Edit your nearby ~/.ssh/config record
SSH into the Bastion Host and after that attempt to SSH into any of your current
AWS server cases and voilà! You currently have a progressively secure method for
getting into your servers since they are presently just available from the Bastion.
SNS for alerts in AWS
Amazon Simple Notification Service (SNS) is a very accessible, solid, secure,
completely overseen bar/sub informing administration that empowers you to decouple web
services, disseminated frameworks, and server less applications.

RDS
The web service of the RDS can be utilized in AWS that are incorporates the
Interfacing with a DB Instance Running the SQL Server Database Engine. Bringing in
and Exporting SQL Server Data on PostgreSQL and pgAdmin III.
PostgreSQL 2 - Creating/Deleting a Table
MySQL Replication : Master-slave
MySQL reinforcement and re-establish
Cross-Region Read Replicas for MySQL and Snapshots for PostgreSQL
Re-establishing Postgres on EC2 occurrence from S3 reinforcement of Scaling-Up.
Output screenshots
The web service of the RDS can be utilized in AWS that are incorporates the
Interfacing with a DB Instance Running the SQL Server Database Engine. Bringing in
and Exporting SQL Server Data on PostgreSQL and pgAdmin III.
PostgreSQL 2 - Creating/Deleting a Table
MySQL Replication : Master-slave
MySQL reinforcement and re-establish
Cross-Region Read Replicas for MySQL and Snapshots for PostgreSQL
Re-establishing Postgres on EC2 occurrence from S3 reinforcement of Scaling-Up.
Output screenshots

Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser


Conclusion
The main aim of this project to implementing successfully the design and deploy a
production web service. Creating the web service can be using the application tools on virtual
machine ubuntu ansible tools platform. Can be find the sample web page from the web
service deployed using HTTPS port 443 and redirected to port 8080 will be completed.
The main aim of this project to implementing successfully the design and deploy a
production web service. Creating the web service can be using the application tools on virtual
machine ubuntu ansible tools platform. Can be find the sample web page from the web
service deployed using HTTPS port 443 and redirected to port 8080 will be completed.
1 out of 27

Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
© 2024 | Zucol Services PVT LTD | All rights reserved.