This content originally appeared on DEV Community and was authored by Luis Horvath
A hybrid architecture combines computing resources, including local infrastructure and cloud-based services.
This is typically done by companies that want to leverage the benefits of cloud computing while still maintaining control over specific digital data or applications they prefer to keep on-premises.
“The tricky part in making a hybrid car wasn´t sticking a battery and an electric motor into a petrol-powered car. Getting the two systems to work seamlessly and harmoniously was the critical innovation.”
Gregor Hohpe - Cloud Strategy: A decision-based approach to Successful Cloud Migration
There are many hybrid cloud strategies for enterprises; one example is the Workload Demand strategy:
Companies can benefit from the cloud's elasticity to increase the capacity of their services at a burst.
Let´s do an example exercise
Imagine the scenario where you are the solutions architect in a company that sells online tickets for the last concert of a famous group, let´s say Rammstein.
You are going to receive so many requests when the tickets are on sale, it will look like you are receiving a DDoS attack.
You are in charge, nothing can fail, the reputation of the company is at your hand and you don´t want that your server room looks like this:
If you build a proper hybrid architecture, you can overcome any overload problem and avoid any disaster or chance to offer a bad service for your end customers.
The following image is a simplified version of a hybrid architecture solution for our scenario →
In this architecture, we extend and distribute the application between the different EC2 instances and the on-premise hardware using the Direct Connect service. These EC2 instances are part of autoscaling groups in different AZs that will scale out at a burst based on our defined rules of HW utilization.
Thanks to the elasticity of the cloud, this design will scale out and scale in once you are sold out with the tickets.
If, for example, you would have used VPN instead of the Direct Connect service, you may end up having synchronization issues if there is high latency between the on-premises and the cloud.
These sync issues will lead to problems in the buying process; in the end, you will have angry customers, which will negatively impact your image as an architect and your employer.
Not all hybrid architectures require the exact requirements; for this one, low latency is a must.
What options do I have to create a hybrid cloud infrastructure?
In a hybrid-cloud scenario, VPN is the fastest way to achieve the goal, but there are some downsides if you have to rely on the solution:
- The connection is Encrypted, but it is no private - DDoS risk
- Unpredictable latency
- Limited throughput – up to 1.25 Gbps - (It can scale with the use of a transit gateway)
- Low setup costs but high egress traffic costs after a certain amount of data
- No end-to-end SLAs
Direct Connect is a private way to connect your on-premises infrastructure with a fiber optic connection to AWS inside a data center. This solution is not the fastest/cheapest to deploy; it is more complicated to design, but it provides some advantages like:
- Extra security (connection outside of the public internet) but not encrypted by default, (possibility of MACsec encryption)
- Lowest possible latency
- High throughput – from 50Mbps up to 100Gbps
- Cost-effective solution after a certain amount of data
- Enterprise-grade SLA
What to choose: Direct Connect or VPN?
This will depend on the company's needs; SLA, latency, bandwidth, and time to deploy are some factors that will help you make the final decision.
Conclusion
Planning and implementing a network design that meets your business needs and requirements is essential to ensure a successful hybrid cloud deployment in AWS. Not doing a proper analysis can negatively impact the business in all aspects.
Networking is the key to success: Strong networking, seamless integration
This content originally appeared on DEV Community and was authored by Luis Horvath
Luis Horvath | Sciencx (2023-04-03T22:58:49+00:00) Considerations before creating a hybrid infrastructure with AWS. Retrieved from https://www.scien.cx/2023/04/03/considerations-before-creating-a-hybrid-infrastructure-with-aws/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.