Welcome to the Serverless Architecture with AWS Diagrams project! This repository demonstrates how to create beautiful, intuitive AWS architecture diagrams using Python and the Diagrams library. You can visualize various AWS services and their interactions in a serverless environment.
Follow the instructions below to set up your environment and generate diagrams for your serverless AWS architecture.
Clone the repository to your local machine:
git clone https://github.com/Deepak17460/Aws-Diagrams.git
cd Aws-Diagramsgit clone https://github.com/mingrammer/diagrams.git
cd diagramsEnsure that Python 3 and pip are installed. Then, run the provided setup script to create and activate a virtual environment, install the required dependencies, and set up system dependencies:
./run_script.shThis script will handle the creation of the virtual environment, installation of Python packages, and installation of additional system dependencies for rendering diagrams and viewing images.
Once your environment is set up, you can start creating diagrams to visualize AWS services and their interactions. Here's a basic script to generate a simple serverless architecture diagram:
from diagrams import Diagram
from diagrams.aws.compute import Lambda
from diagrams.aws.storage import S3
from diagrams.aws.database import Dynamodb
with Diagram("Serverless Architecture", show=False):
S3("Static Files") >> Lambda("Function") >> Dynamodb("Database")To generate the diagram, run the script:
python3 create_diagram.pyThe script will create an image file representing your architecture.
The Diagrams library, developed by mingrammer, allows you to create cloud architecture diagrams programmatically. It supports a wide range of cloud providers, including AWS, Azure, and GCP.
For more information and examples, visit the Diagrams GitHub Repository.
Here are some example diagrams generated using the Diagrams library:
- Python 3: Used for writing the diagram generation script.
- Diagrams Library: A Python library for creating visually appealing cloud architecture diagrams.
- AWS Services: Visualize services such as Lambda, S3, and DynamoDB in your serverless architecture.
We welcome contributions to improve and expand the project. Feel free to open issues or create pull requests. Please make sure your code follows the coding standards and includes proper documentation.
This project is licensed under the MIT License. See the LICENSE file for more details.

