---
title: "Discussion on \"Deploying a Yii2 PHP Application on AWS with Docker Swarm, Ansible, GitHub Actions & Prometheus\" | Hashnode"
description: "Discussion on \"Deploying a Yii2 PHP Application on AWS with Docker Swarm, Ansible, GitHub Actions & Prometheus\". Deploy a Yii2 PHP app on AWS using Docker Swarm, Ansible, GitHub Actions, and Prometheus. Automate, scale, and monitor the full lifecycle"
url: "https://hashnode.com/posts/deploying-a-yii2-php-application-on-aws/68567be4442d9f2be6fd8d92"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Deploying a Yii2 PHP Application on AWS with Docker Swarm, Ansible, GitHub Actions & Prometheus](https://nishankkoul.hashnode.dev/deploying-a-yii2-php-application-on-aws?utm_source=hashnode&utm_medium=feed)

Deploy a Yii2 PHP app on AWS using Docker Swarm, Ansible, GitHub Actions, and Prometheus. Automate, scale, and monitor the full lifecycle

Jun 21, 2025 · 9 min read · nishankkoul.hashnode.dev  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#ansible](https://hashnode.com/tag/ansible)
-   [#ansible-playbook](https://hashnode.com/tag/ansible-playbook)
-   [#docker](https://hashnode.com/tag/docker)
-   [#docker-swarm](https://hashnode.com/tag/docker-swarm)
-   [#prometheus](https://hashnode.com/tag/prometheus)
-   [#nodeexporter](https://hashnode.com/tag/nodeexporter)
-   [#nginx](https://hashnode.com/tag/nginx)
-   [#github-actions-1](https://hashnode.com/tag/github-actions-1)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)

## Written by

[Nishank Koul](https://hashnode.com/@nishankkoul)

@nishankkoul · New Delhi, India

  
[View profile](https://hashnode.com/@nishankkoul)

DevOps Engineer @StringifyAI

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
