devopsdays

All about Devops, Cloud and Linux

Category: Load Balancing (page 1 of 2)

A Guide to Building a Scalable Web App on AWS Virtual Private Cloud – Part 3 (END)

Share

Create a RDS Database Server

  1. Open the Amazon RDS console athttps://console.aws.amazon.com/rds/.
  2. In the navigation bar, verify the selected region.
  3. In the navigation pane, clickSubnet Groups, and then click Create DB Subnet Group.
  4. Complete theCreate DB Subnet Group page as follows:
    1. Enter a name inName. For example, my-db-subnet-group.
    2. Enter a description inDescription.
    3. Select your VPC fromVPC ID.
    4. InAvailability Zone, select the first Availability Zone from the list. Select the private subnet from Subnet ID, and then click Add.
    5. InAvailability Zone, select the second Availability Zone from the list. Select the private subnet from Subnet ID, and then click Add.
    6. ClickCreate.
  5. In the navigation pane, clickInstances, and then click Launch DB Instance.
  6. On theSelect Engine page, select the MySQL tab, and then click Select

Continue reading

A Guide to Building a Scalable Web App on AWS Virtual Private Cloud – Part 2

Share

Configure a Virtual Private Cloud (VPC)

Amazon Virtual Private Cloud (Amazon VPC) enables you to launch Amazon Web Services (AWS) resources into a virtual network that you’ve defined. This virtual network closely resembles a traditional network that you’d operate in your own data center, with the benefits of using the scalable infrastructure of AWS.

VPC with Public and Private Subnets (NAT)

Amazon VPC enables you to launch AWS resources into a virtual network that you’ve defined, called a virtual private cloud (VPC). The configuration for this scenario includes a virtual private cloud (VPC) with a public subnet and a private subnet.

Continue reading

A Guide to Building a Scalable Web App on AWS Virtual Private Cloud – Part 1

Share

Cloud computing is fast becoming the standard method of creating scalable, manageable web application services, and Amazon is leading the way. Master the complexities of AWS and understand all of your options with this comprehensive Learning Path. Learn to make your existence in the cloud trouble-free.

A web app is any software that users access through a web browser or specialized web client. Web apps are typically structured into logical tiers. For example, a common structure uses three tiers. The first tier is the web browser, which is responsible for presenting the user interface. The middle tier is an application server, which is responsible for the application’s functionality. The third tier is a database server or file system, which is responsible for data storage.

Continue reading

Continuous Integration and Release Automation with AWS Code Commit, AWS Code Deploy and Jenkins (Part 5 End)

Share

Create a source bundle, which includes the deployment scripts, and upload it to AWS CodeCommit repository

Now you can download the following sample bundle to your local repository and push the change to the central repository along with your application code hosted on AWS CodeCommit. The sample bundle includes everything you need to work AWS CodeDeploy: the Application Specification (AppSpec) file and deployment scripts.

Continue reading

Continuous Integration and Release Automation with AWS Code Commit, AWS Code Deploy and Jenkins (Part 4)

Share

Use AWS CodeDeploy to Deploy  Amazon EC2 Instances Behind an Elastic Load Balancer and Auto Scaling

Let’s assume you have an application architecture designed for high availability that includes an Elastic Load Balancer in front of multiple application servers belonging to an Auto Scaling Group. Elastic Load Balancing enables you to distribute incoming traffic over multiple servers and Auto Scaling allows you to scale your EC2 capacity up or down automatically according to your needs In this blog post, we will show how you can use CodeDeploy to avoid downtime when updating the code running on your application servers in such an environment. We will use the CodeDeploy rolling updates feature so that there is a minimum capacity always available to serve traffic and use a simple script to take EC2 instances out of the load balancer as and when we deploy new code on it.

Continue reading

Older posts

© 2020 devopsdays

Theme by Anders NorenUp ↑

Share