Browsed by
Tag: AWS

The Curse of Being a Cloud Developer

The Curse of Being a Cloud Developer

Downsides and Upsides You’ve probably heard the term cloud computing, but do you really know what it’s all about? If you’re like most people, your main understanding of cloud computing is that it can make developers’ lives a lot easier. This isn’t far from the truth. Cloud computing has a ton of benefits that allow developers to save time and money when developing software. But there’s a hidden secret behind cloud computing that most people don’t know about. And this…

Read More Read More

EC2 vs. ECS―which one should you choose for your AWS application?

EC2 vs. ECS―which one should you choose for your AWS application?

(Spoiler: it’s ECS.) If you’re an AWS developer, you probably know that the cloud giant offers two different ways to run your applications: EC2 instances and ECS containers. Both are powerful and flexible options that give you access to various computing resources and services. But how do they compare? And which option is best for your application? Infrastructure vs. Containers The most basic difference between EC2 and ECS is that the former is an infrastructure-as-a-service option while the latter is…

Read More Read More

How To Monitor Your Services Hosted On AWS EC2 Instances

How To Monitor Your Services Hosted On AWS EC2 Instances

A secure way to implement a Lambda function that monitors all the services hosted on EC2 instances using Secrets Manager Problem AWS provides many tools to monitor its own services. You can add alarms on various CloudWatch events. As you host more and more services on AWS it becomes difficult and important to make sure these services are running. You can use CloudWatch to find the state of your services by creating new Metrics. This process becomes expensive and difficult…

Read More Read More

Secure AWS EC2 Instances With MFA and SSH Key Rotation

Secure AWS EC2 Instances With MFA and SSH Key Rotation

Idea The primary idea behind this architecture is to securely access EC2 instances over SSH. There are two parts to this: Secure SSH access to Bastion host using MFA. This process is explained in this AWS blog. Public and Private SSH keys to access EC2 instances from the Bastion host are rotated periodically. An AWS Blog (https://aws.amazon.com/blogs/security/how-to-use-aws-secrets-manager-securely-store-rotate-ssh-key-pairs/) was a great help to understand this setup. It has Cloudformation scripts to setup the Bastion Host and other EC2 instances. We made few…

Read More Read More