Adam Gordon Bell

Adam Gordon Bell

Community Engineer

Fargate vs EC2

Fargate vs EC2

Building an EKS cluster requires choosing how your containers will actually run - either on EC2 instances you manage or through AWS Fargate’s pod-by-pod approach. The differences can be pretty dramatic in practice. I’m setting up a demo cluster right now using Pulumi, so let me show you what I mean.

  1. Bin Packing
  2. Pros and Cons
  3. Workload Example: Static Analysis
  4. Example: Go Services for E-commerce
  5. Fargate vs EC2 Pricing
  6. Misconceptions About Fargate
  7. Managing Container Orchestration with Pulumi
  8. Why Not Both

Here is my Fargate cluster:

Read more →

When to Use Cosmos DB

When to Use Cosmos DB

When should you use Cosmos DB on Azure? It’s a hard question to answer.

Azure Cosmos DB tries to do it all - which makes it both powerful and, honestly, kind of confusing. The marketing doesn’t help either. Yeah, it’s a flexible database, but before you jump in, you need to understand how it actually works under the hood, what it’ll cost you, and what trade-offs you’re making by choosing it.

I’m going to break all that down. Here’s a roadmap:

Read more →