February 20, 2024

Optimize costs when building and publishing a website


Deploying a website is a common task for programmers. However, optimizing costs, resources, and time during the development and deployment process remains a concern for many.

One of the most popular methods today is using Docker. Docker is an open platform for developing and deploying applications more easily using containers. This allows developers to easily separate applications from infrastructure dependencies.

However, with the traditional approach:

1. To deploy a website using Docker, you need to:

– Own a Virtual Private Server (VPS) or a server accessible via SSH.

– Install Docker on the VPS.

– Sequentially deploy the necessary containers.

– Configure and set up environment variables to run those containers.

2. To release the website to the Internet, you need to:

– Upload the website from your local machine to the server.

– Own a personal domain.

All of these tasks require a lot of effort, time, and expense. In particular, the costs of preparing hardware and purchasing domains are not insignificant. Furthermore, having the website run on an unencrypted domain can make it less reliable. This may make users hesitate when accessing the website, especially when they need to input personal information or make payments. Additionally, the website may face difficulties interacting with HTTPS platforms.

However, developed based on container technology, the AWS App Runner platform provides a solution to this problem. Some notable benefits that users can easily recognize include:

– Responding to potentially much higher traffic than traditional servers.

– No resource constraints like traditional servers.

– Saving up to 50% of resources and costs compared to servers when operating at average loads.

– Being a fully serverless solution, eliminating the need to manage infrastructure from master nodes to worker nodes. No more technical burdens in managing the container infrastructure.

– Comprehensive application recovery at any point in operational history.

– Deploying and publishing applications with SSL protection available in just a few seconds.

Share this post:

Discover more articles