Menu

1 / 14

Run AWS CodePipeline, CodeBuild and CodeDeploy Locally with Floci

DEV Community: cicd·Vedas Kudalkar·3 days ago
#pc3gPwAM
#devtocicd#devto#dev#floci#pipeline
Reading 0:00
15s threshold

A Maven WAR through CodeArtifact, CodeBuild, CodeDeploy and CodePipeline on Floci in Docker. No AWS account, no bill.

To run an AWS CI/CD pipeline with no AWS account, I pointed the AWS CLI at Floci, a local AWS emulator, and scripted every stage in PowerShell. The pipeline builds a Java web app, deploys it to an "EC2 instance" that is really a Docker container, and serves it on localhost . Most of it worked as written. CodeDeploy hooks did not, so I wrote a small SSM agent stand-in to run them.

Repo: axololtos/cicd-pipeline-floci . The design follows the free NextWork DevOps challenge; the repo is not affiliated with it.

Why emulate it

The tutorial version needs a real account, IAM setup, a running EC2 instance and careful cleanup. Miss one resource and you pay for it. Floci removes that risk, and the whole thing is repeatable: 07-cleanup.ps1 tears it down and the numbered scripts rebuild it.

The trade-off is fidelity. Floci implements the API surface, not every behavior behind it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.