Moving to AWS cloud

Started by cbinstrument, Dec 27, 2022, 03:37 AM

Previous topic - Next topic

cbinstrumentTopic starter

For 7 years I've been using the same hosting company without any issues - just a few static websites. However, the recent bill for the next three years seemed too much compared to what I paid earlier. This was the moment when I decided to switch.

My relative recommended AWS, which he uses and pays very little. Also, at work, we started transitioning to AWS cloud services. So, I decided to give it a try and move my websites to AWS.

The process wasn't as straightforward as I initially thought. For instance, transferring domains required creating a hosted zone first and then moving the Name Servers. S3 file storage was easy to set up, but SSL verification took me two hours of research. Fortunately, I found someone who helped me with this. Nonetheless, SSL couldn't be bound to the S3 bucket, so I had to use CloudFront CDN.

Setting up CloudFront was a bit more complex, but now everything is finally complete, and I'm thrilled about my successful transition. If you plan to move to AWS, keep in mind that it may take some time and effort, but it's definitely worth it in the end.


To avoid any unexpected expenses when using AWS, it's recommended to Google "billing alarms AWS" and adjust the alert thresholds based on your planned expenses. Since AWS is an IaaS, where users need to configure every element of infrastructure they want to use, it is crucial to learn how to do this on your own. AWS employees are unlikely to provide any assistance beyond billing questions.

It's advisable to take overview courses on AWS to understand what services are available and which ones you need in particular. Detailed courses are recommended for the relevant services to avoid making novice mistakes that can lead to unexpected expenses.

Cloud Academy provides trial periods and offers a high level of immersion, making it a useful source of knowledge. However, there are also many other sources of information available to assist in effectively using AWS.


Startups can take advantage of Google AWS loans, which offer $450 in credits for a year to use on their pet projects. While certain exclusions apply, such as domain zone registration, it's still a great way to save money. To further help manage your budget, be sure to set up alerts.

Did you know that many tech giants offer various types of assistance to startups? This can include access to resources, mentorship, and even funding. It's worth exploring all the options available to give your startup the best chance for success.


Is it a concern that S3 files don't update atomically and users accessing the site during an update may get an inconsistent experience with some files coming from the old version and some from the new?

There are workarounds to solve this issue, like versioning all files except for index.html in SPA by adding versions to their names and updating index.html last. However, deploying static files like HTML, CSS, JS, and images as a container (NGINX) could simplify the process of raising local versions for developers.

Moreover, for small-scale orchestration, a simple Docker Swarm would suffice as an orchestrator.

In modern web development, efficiency is key, and finding optimal solutions for deployment is critical. Containerization has become a popular approach as it streamlines deployment and makes it easier to maintain different versions of web applications.


That's great to hear that you successfully transitioned your websites to AWS! Moving to a new hosting provider can sometimes be a bit challenging, but it sounds like you managed to navigate through the process effectively. AWS offers a wide range of services and flexibility, which can be beneficial in terms of cost and performance.

It's also good that you found someone who could assist you with the SSL verification and set up CloudFront to improve the performance of your websites. AWS CloudFront is a content delivery network (CDN) service that helps distribute your website's content globally, reducing latency and improving speed for your visitors.

One significant advantage of using AWS is its scalability. Whether you have a small website or a large enterprise-level application, AWS offers the ability to easily scale your resources up or down according to your needs. This scalability ensures that you only pay for the resources you use, making it a cost-effective solution.

AWS also provides a wide range of services to cater to different use cases. For example, you mentioned using S3 for file storage and CloudFront for CDN. In addition to these, AWS offers services for databases, computing, analytics, machine learning, networking, security, and more. This comprehensive suite of services allows you to build and deploy complex applications without having to manage the underlying infrastructure.

Another advantage of AWS is its global infrastructure. With data centers located in various regions around the world, you can choose the region closest to your target audience to minimize latency and ensure fast response times. This global reach makes AWS an excellent choice for businesses that require a global presence.

Furthermore, AWS provides robust security measures to protect your data and applications. They offer encryption services, identity and access management, security monitoring, and compliance certifications, ensuring that your infrastructure is secure.

Lastly, AWS has a strong and active community that provides support and resources to users. You can find documentation, tutorials, forums, user groups, and even professional support services to help you with any issues or challenges you may encounter.

Here are a few more benefits of using AWS:

1. High Availability: AWS offers built-in redundancy and fault-tolerant infrastructure, ensuring that your applications and websites have high availability. You can distribute your resources across multiple Availability Zones within a region for enhanced resilience.

2. Cost Optimization: AWS provides various tools and services to help you optimize your costs. You can take advantage of features like Auto Scaling, which automatically adjusts your resources based on demand, and AWS Cost Explorer, which helps you analyze and control your spending.

3. Flexibility and Customization: With AWS, you have the freedom to choose and configure the specific services and resources that best fit your requirements. You can customize your infrastructure, networking, storage options, and security settings for full control and flexibility.

4. Integration with Other Services: AWS seamlessly integrates with other Amazon products and services, such as Amazon S3 for scalable object storage and Amazon RDS for managed relational databases. This integration makes it easier to build comprehensive and interconnected solutions.

5. DevOps Capabilities: AWS offers a range of tools and services that support DevOps practices, such as continuous integration and deployment (CI/CD), auto-scaling, and infrastructure-as-code. This allows for faster and more efficient development and deployment processes.

6. Machine Learning and AI: AWS provides a suite of machine learning and AI services, including Amazon SageMaker, Amazon Rekognition, and Amazon Polly. These services enable you to incorporate advanced analytics and intelligent capabilities into your applications.

7. Serverless Computing: AWS Lambda is a serverless compute service that lets you run your code without provisioning or managing servers. It allows you to focus on writing code while AWS takes care of the underlying infrastructure, making it highly scalable and cost-effective.

These are just a few highlights of what AWS has to offer. The platform provides a vast array of services and features that cater to various use cases and requirements, making it a popular choice for businesses seeking scalability, flexibility, and reliability in their cloud infrastructure.



Moving to the AWS (Amazon Web Services) cloud can offer numerous benefits, including scalability, flexibility, cost-effectiveness, and access to a wide range of cloud services. Here are the key steps to consider when moving to AWS:

Assessment and Planning:

Begin by assessing your current infrastructure and applications. Identify what can be migrated to the cloud and which AWS services are best suited for your needs.
Set Clear Objectives:

Define your goals and objectives for the migration. Determine what you aim to achieve with the move to AWS, whether it's reducing costs, improving scalability, or enhancing performance.
Choose the Right AWS Region:

Select an AWS region that best aligns with your requirements. Consider factors like data residency, compliance, and latency.
Select Migration Strategy:

AWS offers several migration strategies, including rehosting (lift and shift), re-platforming, refactoring, and rebuilding. Choose the strategy that fits your specific applications and workloads.
Data Migration:

Plan how to migrate your data to AWS. AWS provides services like AWS DataSync, AWS Snowball, and AWS Database Migration Service to facilitate data transfer.
Security and Compliance:

Ensure that you implement robust security measures and adhere to compliance standards. AWS provides tools and services to help secure your cloud environment.
Network Connectivity:

Establish network connectivity between your on-premises data centers and AWS using AWS Direct Connect or VPN connections.
Resource Provisioning:

Provision the necessary resources in AWS, such as EC2 instances, RDS databases, and S3 storage, to support your applications.
Application Migration:

Migrate your applications to AWS, following the chosen migration strategy. This may involve reconfiguring settings, installing dependencies, and testing thoroughly.
Testing and Optimization:

Rigorously test your applications in the AWS environment to ensure they function as expected. Optimize performance and troubleshoot any issues.
Scaling and Monitoring:

Leverage AWS auto-scaling and monitoring tools to manage and maintain your applications. AWS CloudWatch can help you monitor resource usage and set up alarms.
Backup and Disaster Recovery:

Implement robust backup and disaster recovery solutions using AWS services like Amazon S3 for data storage and AWS Backup for data protection.
Cost Management:

Monitor your AWS costs using AWS Cost Explorer and set up cost controls to stay within your budget.
Documentation and Training:

Document your AWS environment and provide training for your team to ensure they are proficient in managing cloud resources.
Post-Migration Review:

Conduct a post-migration review to assess the success of your migration, identify areas for improvement, and refine your AWS setup.
Ongoing Optimization:

Continuously optimize your AWS resources by regularly reviewing and adjusting your configurations to meet changing business needs.
Moving to AWS requires careful planning and execution, but when done correctly, it can provide a powerful platform for your applications and data, enabling you to scale and innovate more efficiently.