---
title: AWS Lambda! But On Steroids - Best Software Development Team Extension Partner for Nordics
description: Do you ever feel like AWS LAMBDA is great but they are just not enough for what you need to do? Maybe you need more horsepower, perhaps a core or two and
image: https://www.craftsmensoftware.com/hubfs/Imported_Blog_Media/AWS_Lambda_on_steroids.webp
---

[Skip to main content](https://www.craftsmensoftware.com/blog/aws-lambda-but-on-steroids#main-content)

[![Craftsmen-logo](https://www.craftsmensoftware.com/hs-fs/hubfs/Website%202.png?width=200&height=72&name=Website%202.png) ![Craftsmen-logo](https://www.craftsmensoftware.com/hs-fs/hubfs/Website%202.png?width=200&height=72&name=Website%202.png) ![Craftsmen-logo](https://www.craftsmensoftware.com/hs-fs/hubfs/Website%202.png?width=200&height=72&name=Website%202.png) ![Craftsmen-logo](https://www.craftsmensoftware.com/hs-fs/hubfs/Website%202.png?width=200&height=72&name=Website%202.png)](https://www.craftsmensoftware.com)

- [About us](https://www.craftsmensoftware.com/about-us)
- [Client Stories](https://www.craftsmensoftware.com/client-success-stories)
- [How We Work](https://www.craftsmensoftware.com/how-we-work)
- [Case Study](https://www.craftsmensoftware.com/case-study)
- [Blog](https://www.craftsmensoftware.com/blog)
- [Career](https://careers.craftsmensoftware.com/)

Open main navigation

Close main navigation

- [About us](https://www.craftsmensoftware.com/about-us)
- [Client Stories](https://www.craftsmensoftware.com/client-success-stories)
- [How We Work](https://www.craftsmensoftware.com/how-we-work)
- [Case Study](https://www.craftsmensoftware.com/case-study)
- [Blog](https://www.craftsmensoftware.com/blog)
- [Career](https://careers.craftsmensoftware.com/)
- [Get In Touch](https://www.craftsmensoftware.com/contact-us)

[Get In Touch](https://www.craftsmensoftware.com/contact-us)

## AWS Lambda! But On Steroids

![AWS Lambda! But On Steroids](https://www.craftsmensoftware.com/hs-fs/hubfs/Imported_Blog_Media/AWS_Lambda_on_steroids.webp?width=1200&height=820&name=AWS_Lambda_on_steroids.webp)

Do you ever feel like AWS LAMBDA is great but they are just not enough for what you need to do? Maybe you need more horsepower, perhaps a core or two and maybe the TASK you want to do might not be done within 15 minutes? I know what you’re thinking; duh!

We have Ec2 for larger tasks and yes but do you not feel that it gets a little tricky maintaining Ec2 sometimes cause you just want a LAMBDA ON STEROIDS?

Well Ecs might just be the solution you need. Ecs works very similar to Ec2 except this is a task based solution where you

 

1. Create Docker images
2. Create Containers out of the docker images
3. Define a basic layout of the sort of tasks you might be doing
4. Use anything you like to initiate a task all the while replacing the original parameters that you defined your tasks with

Yes, it’s that simple.

## Docker Image

Aws lets you use custom images to run your tasks on. Which means you can have your scripts or binaries or applications in the image that you want. Once built from Dockerfile, you will tag and upload this image into your AWS accounts ECR. Pretty simple to do; you can follow the official docs [here](https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-push-ecr-image.html).

You can also use public images available in docker hub; all you need is the tag. For this example we will use the **python:3.8** image available publicly in docker hub.

## Creating ECS Clusters

Once you have a docker image in your hands, head over to your AWS account and go into ECS. Then find clusters and then hit **Create cluster**. Follow along.

![](https://www.craftsmensoftware.com/hubfs/Imported_Blog_Media/image1-e1708415324663.png)

Using fargate as the cluster template

 

We will use the first option to use the cluster as Fargate ([Serverless compute for containers](https://aws.amazon.com/fargate/)) Hit **Next step**.

![](https://www.craftsmensoftware.com/hubfs/Imported_Blog_Media/image6.png)

Give it a name and make sure to enable Cloudwatch insights cause they are always helpful. We are not creating a VPC because this account already has one, you can create one if you still need it. Hit **Create**.

## Creating Task Definition

Once complete, we will create a Task definition, this will lay down the ground rules for our tasks. Find the Task Definition option from the sidebar and hit **Create new Task Definition**.

![](https://www.craftsmensoftware.com/hubfs/Imported_Blog_Media/image5-3.png)

We will use FARGATE here too to manage our clusters and tasks. Click **Next step**.

![](https://www.craftsmensoftware.com/hubfs/Imported_Blog_Media/image2-2.png)

Give your task a name. You can select the amount of default resources you want your container to have; for example, we will use 2 gigs of ram, and a single vCpu but you can always change these for each task you run.

## Task Execution Role

You can create a custom **task execution role** if you want; this role will be used to pull images from ecs, and manage ecs and cloudwatch logs for your task. The console will create one by default, for us that’s okay so we are going with **ecsTaskExecutioinRole**.

## Task Role

The task role is crucial for services using sdks like boto3 or aws-sdk. As this is the role that aws ecs will use to inject permissions into your container for your task to be able to use aws apis. For us the default **ecsTaskExecutioinRole** role will do just fine.

## Container Definition

Click **Add container**. The major two settings we will use are these ones.

![](https://www.craftsmensoftware.com/hubfs/Imported_Blog_Media/image7.png)

But you can do loads of things with it but for us these two will suffice for a demo. Hit **Add** and then hit **Create**. Everything else will be default.

Now that you’ve created a task definition, You can head over to the task definition page and select on your task definition and hit **Run Task**.

## Creating Tasks

Let’s make this image do something. Create a task with the following steps.

![](https://www.craftsmensoftware.com/hs-fs/hubfs/Imported_Blog_Media/image8-1010x1024.png?width=1010&height=1024&name=image8-1010x1024.png)

For this account, we already have a vpc and subnets, we are just selecting them and the console automatically assigns a security group for us. You can always create your own. Our launch type will be Fargate. As you can see it automatically picked up the cluster we made in step one otherwise you would have to choose a cluster. Since we are using public images, **Auto-assign public ip** must be **ENABLED**.

![](https://www.craftsmensoftware.com/hs-fs/hubfs/Imported_Blog_Media/image4-1-2.png?width=1006&height=905&name=image4-1-2.png)

 

Container settings for each task

In the **Advanced Options**, we can override any task definition settings we created, for example, we are overriding the command for our task definition. Note that you must provide the commands in comma separated manner and then hit **Run Task**. It will take you to your cluster’s tasks option and you will see a task being Provisioned. Click on it and then hit **Logs**. Wait for the logs to appear and voila;

![](https://www.craftsmensoftware.com/hs-fs/hubfs/Imported_Blog_Media/image3-1024x131-2.png?width=1024&height=131&name=image3-1024x131-2.png)

The Logs are conveniently placed along with the execution.

Now, ecs is not meant to be a lambda substitution, this can be used for tasks that require custom applications and scripts or heavy resources or when you are just not comfortable with the 15 minutes timeout.

## Caveats

Not many;

 

1. 1. It is slower than a lambda to start up; from my experience it takes around a minute for the container to spin up but it’s faster than ec2

1. 1. It’s a little pricier than a lambda but cheaper than ec2

That’s all folks. Hope this tutorial was useful for all reading. Take care.

![Sakib Alam](https://www.craftsmensoftware.com/hs-fs/hubfs/MD%20SAKIBUL%20ALAM.png?width=120&height=120&name=MD%20SAKIBUL%20ALAM.png)

Author: **[Sakib Alam](https://www.craftsmensoftware.com/blog/author/sakib-alam)**  
 02/08/2022

![Hire AI-Native Engineers](https://www.craftsmensoftware.com/hubfs/Z63_3132.webp)

## Hire AI-Native Engineers

[![Book A Strategy Call](https://www.craftsmensoftware.com/hubfs/Book%20A%20Strategy%20Call.svg)](https://www.craftsmensoftware.com/contact-us)

### **About Craftsmen**

[The Team](https://www.craftsmensoftware.com/about-us)

[Our Partnership Model](https://www.craftsmensoftware.com/how-we-work)  
[Career](https://careers.craftsmensoftware.com/)

[FAQ](https://www.craftsmensoftware.com/frequently-asked-questions-faq)  
[Privacy Policy](https://www.craftsmensoftware.com/privacy-policy-best-software-development-company-in-bangladesh) 

[Craftsmen LinkedIn Page](https://linkedin.com/company/craftsmensoftware)   [Craftsmen Facebook Page](https://www.facebook.com/craftsmenltd/)   [Craftsmen Youtube Page](https://www.youtube.com/@craftsmensoftware)

### **Headquarter**

**Craftsmen UK**  
One Sovereign Quay, Bridge End, Leeds, West Yorkshire LS1 4AG United Kingdom 

**Operational Hub

Craftsmen Bangladesh**  
Plot # 316, Lane # 4, DOHS Baridhara,

Dhaka - 1206, Bangladesh

### **Sales & Partnership Offices**

**Craftsmen Norway**  
Kong Oscars gate 66, 68, 5017 Bergen, Norway

**Craftsmen France**  
6 Avenue Pierre Grenier, 92100 Boulogne-Billancourt, Paris, France

### **A Team You Can Trust**

#### [![ISO Certificates New](https://www.craftsmensoftware.com/hs-fs/hubfs/ISO%20Certificates%20New.png?width=300&height=96&name=ISO%20Certificates%20New.png)](https://www.craftsmensoftware.com/trust-centre)

[![glassdoor (1)](https://www.craftsmensoftware.com/hs-fs/hubfs/glassdoor%20(1).png?width=110&height=79&name=glassdoor%20(1).png)](https://www.glassdoor.com/Overview/Working-at-Craftsmen-EI_IE3004266.11,20.htm) [![goodfirms.co](https://www.craftsmensoftware.com/hs-fs/hubfs/goodfirms.co.webp?width=110&height=95&name=goodfirms.co.webp)](https://www.craftsmensoftware.com/blog/craftsmen-thrives-at-goodfirms-by-offering-scalable-robust-software-solutions-developed-with-quality-by-maestros)

 

 © 2026 Craftsmen. All rights reserved.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Sakib Alam",
    "url" : "https://www.craftsmensoftware.com/blog/author/sakib-alam"
  },
  "dateModified" : "2026-04-30T08:08:25.369Z",
  "datePublished" : "2022-08-01T22:30:00.000Z",
  "headline" : "AWS Lambda! But On Steroids - Best Software Development Team Extension Partner for Nordics",
  "image" : [ "https://www.craftsmensoftware.com/hubfs/Imported_Blog_Media/AWS_Lambda_on_steroids.webp" ],
  "mainEntityOfPage" : {
    "@id" : "https://www.craftsmensoftware.com/blog/aws-lambda-but-on-steroids",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.craftsmensoftware.com/hubfs/Craftsmen%20Logo_Black.png"
    },
    "name" : "Craftsmen Ltd."
  }
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "SoftwareCompany",
  "address" : [ {
    "@type" : "PostalAddress",
    "addressCountry" : "Norway",
    "addressLocality" : "Oslo"
  }, {
    "@type" : "PostalAddress",
    "addressCountry" : "United Kingdom",
    "addressLocality" : "London"
  }, {
    "@type" : "PostalAddress",
    "addressCountry" : "France",
    "addressLocality" : "Paris"
  }, {
    "@type" : "PostalAddress",
    "addressCountry" : "United States",
    "addressLocality" : "New York"
  }, {
    "@type" : "PostalAddress",
    "addressCountry" : "Bangladesh",
    "addressLocality" : "Dhaka"
  } ],
  "areaServed" : [ {
    "@type" : "Country",
    "name" : "Norway"
  }, {
    "@type" : "Country",
    "name" : "Sweden"
  }, {
    "@type" : "Country",
    "name" : "United Kingdom"
  }, {
    "@type" : "Country",
    "name" : "France"
  }, {
    "@type" : "Country",
    "name" : "United States"
  }, {
    "@type" : "Country",
    "name" : "Bangladesh"
  } ],
  "description" : "Trusted AI-native engineering partner providing software team extension, IT staff augmentation, and dedicated developer teams globally.",
  "logo" : "https://www.craftsmensoftware.com/hubfs/logo.png",
  "name" : "Craftsmen Software",
  "url" : "https://www.craftsmensoftware.com"
}
```