Photo by C Dustin on Unsplash

In my previous articles you may have seen me going on and on about deploying code on server instances on the cloud, building services to manage those instances, building a reverse-proxy on top of those services and so on. No doubt that some of you may have wished if you could just write code, deploy it somewhere and not bother about the excessive complexities of setting up and managing server instances. Well, depending on your use case, there might be a solution — Serverless Functions.

Serverless functions allow code to be deployed without you allocating any infrastructure for the code…


In 1999 a navigation error saw NASA’s Mars Climate Orbiter crashing into the red planet’s atmosphere, and with it burnt years of painstaking work and millions of dollars spent building it. What was the cause? The commands sent to the spacecraft used English units instead of metric units. Mathematical and technical errors like these could result in catastrophic failures, some even ending in serious casualties. Hence the case for testing being an indispensable part of software development.

Unit Testing” is when you test one unit of your software independent of any other units. Typically in Object Oriented Development (OOD) this…


Burglar cartoon: Image by Joe Alfaraby from Pixabay; Cloud image: Image by krzysztof-m from Pixabay

In my previous tutorials I have talked quite a bit about web app deployment and Elastic Container Service (ECS). Now let’s look at a special case where you might need to connect to your ECS setup from a different VPC than the one you set it up inside.

Note: The following tutorial can apply to both VPCs in the same AWS account or in separate AWS accounts.

Example: Let’s assume your company has a hybrid AWS account (on-prem and AWS cloud combined) — with a Virtual Private Cloud (VPC) set up — as part of its secure internal network and…


Photo by Max Letek on Unsplash

THE INTERVIEW DAY.

The day I got the interview call from BT (British Telecoms) was a rather normal day. I was attending a workshop at uni when I got an email saying, “Hey, I know it’s a short notice but could you come to our office the day after tomorrow for an assessment centre?”. It’d been a while since I last spoke with BT which was about submitting a video recording of myself as part of my application, so the email took me by surprise. The assessment centre was the day before my final exams and it’s a 3 hr journey from my…


Scalability is equally a key concept in software development as it is in business. We need to ensure that our systems can be made bigger or smaller as per our needs. One major benefit of scalable architectures is that it makes our system more cost-efficient. In my last tutorial I talked about using AWS’s Elastic Container Service (ECS) coupled with an Application Load Balancer (ALB) and an auto-scaling group of EC2 instances to scale your web application up and down as per user traffic, CPU and memory needs, and consequently save a significant amount of money. …


In an earlier tutorial, we discussed how to deploy a web app on to an EC2 instance. However, it is not optimal to just have one copy of your app running on a single server, especially as your user base, and hence the traffic into your website, grows. What if that single server breaks down? What if the server overloads with traffic? You don’t want your entire website to go down in such instances (no pun intended). This is why we need multiple EC2 instances running copies of our app. …


Deploying your web app onto cloud is easier than it sounds like. The AWS (Amazon Web Services) cloud platform offers a range of utilities to host your web app on their servers and forget the stress of maintaining one yourself. The cost and time involved in running a server is what stops many from web app development. In this tutorial you will learn how to host your containerised python flask web application on an AWS Elastic Compute Cloud (EC2) instance or a simple server running in one of Amazon’s data centres.

It is assumed that you already have a Dockerised…


Ever wondered how to deploy a web application on your machine? It’s easier than you think. In this tutorial, we’ll build a simple web application that displays “Hello World” using Flask. Flask is a lightweight python framework used to build web applications. We’ll also look at how to build the back-end of our web application and deploy it on your machine inside a Docker container.

Dockerising, or containerising your web app using Docker, is in simple terms packaging your app and your environment so that a new user can easily set up and run your application from the get-go. …

Abdul Rahman

Software Engineering student with experience in full-stack development and DevOps engineering. 📚 Love to code. ⌨️ Love to write.✒️

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store