Giter Site home page Giter Site logo

dot-net-webapi-and-rds's Introduction

.Net WebAPI

This repository uses GitOps approach to deploys .NET WebAPI and an RDS.

How to deploy using this repository:

  • Step 1: clone this repo

Requirements

Name Version
terraform >= 1.0
aws >= 5.00
random 3.5.1

Providers

Name Version
aws 5.25.0
random 3.5.1

Modules

Name Source Version
security_group terraform-aws-modules/security-group/aws ~> 5.0
vpc terraform-aws-modules/vpc/aws ~> 5.0

Resources

Name Type
aws_db_instance.webapi resource
aws_elastic_beanstalk_application.webapi_app resource
aws_elastic_beanstalk_environment.webapi_env resource
aws_iam_instance_profile.webapi_instance_profile resource
aws_iam_role.webapi_instance_role resource
aws_iam_role_policy_attachment.webapi_ec2_permissions resource
aws_iam_role_policy_attachment.webapi_s3_permissions resource
aws_launch_template.webapi_rds resource
aws_secretsmanager_secret.db-secrete resource
aws_secretsmanager_secret_version.db-pass-val resource
aws_security_group.webapi_sg resource
random_password.db_master_pass resource
aws_availability_zones.available data source

Inputs

Name Description Type Default Required
EC2KeyName n/a string "ebs-key" no
Env_type n/a string "SingleInstance" no
app_name n/a string "dotnet" no
ebs_stack_name n/a string "64bit Amazon Linux 2023 v3.0.0 running .NET 6" no
instance_type n/a string "t2.micro" no
region n/a string "eu-west-2" no
tier n/a string "WebServer" no

Outputs

Name Description
dotNet_VPC_id n/a
rds_address n/a
rds_endpoint Output the RDS endpoint for reference
webapi_endpoint n/a

Deploys a scalable and extendable .NET WebAPI on AWS:

  • There are number of future enhancment can be made:
  • Adapt Microservice Architecture: to break down the application into smaller , independent services, that can be developed, deployed and scalled independentely.
  • ECS and API gateway could be Other alternative to Elastic beanstalk.
  • For Auto testing, deployment and rollback use AWS CodeBuild as CI/CD pipeline.

Disaster Recovery High Level Diagram

Disaster Recovery

by Yogesh Mangela.

dot-net-webapi-and-rds's People

Contributors

yogmangela avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.