Giter Site home page Giter Site logo

yris-ops / glpi-on-rds-high-availability-for-aws Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 70 KB

This AWS CloudFormation template deploys a highly available GLPI (a web-based IT service management software) environment on Amazon RDS, with an Elastic Load Balancer for traffic distribution. The infrastructure is set up across multiple availability zones for increased redundancy.

License: Other

Shell 100.00%
aws cloudformation glpi high-availability it-service-management load-balancer mariadb rds

glpi-on-rds-high-availability-for-aws's Introduction

GLPI on RDS High Availability

Slack Shield Repo size Stars Twitter Linkedin

GLPI on RDS High Availability

The purpose of this CloudFormation template creates a high availability setup for GLPI using an EC2 instance, an RDS MariaDB instance and a shell script installing GLPI on a Linux server.

This README file provides a comprehensive guide on how to install and configure GLPI on an Ubuntu-based 20.04 system. I hope it helps you get started with using GLPI for your IT asset management needs.

Key Components

  • EC2 instance: This is the instance where GLPI will be installed.
  • RDS Subnet Group: This is a group of private subnets for RDS.
  • EC2 Instance Security Group: This is a security group that allows inbound traffic from ALB to the EC2 instance.
  • Instance Security Group Ingress: This is an ingress rule for the EC2 instance security group.
  • RDS instance: This is the RDS MariaDB instance that will store GLPI data.
  • Load Balancer: This is the Internet-facing ELB that balances incoming traffic to the EC2 instance.
  • Load Balancer Security Group: This is the security group for the load balancer that allows inbound traffic from the Internet.
  • Target Group: This is the target group for the ELB that routes incoming traffic to the EC2 instance.
  • Listener: This is the listener for the ELB that forwards incoming traffic to the target group.

Parameters

The following parameters must be passed to the CloudFormation template:

  • PublicSubnetA: ID of the first public subnet.
  • PublicSubnetB: ID of the second public subnet.
  • PrivateSubnetA: ID of the first private subnet.
  • PrivateSubnetB: ID of the second private subnet.
  • InternetGateway: ID of the Internet Gateway.
  • VPC: ID of the Virtual Private Cloud.
  • EC2InstanceType: EC2 instance type. Allowed values are: t2.micro, t2.small, t2.medium, and t2.large.
  • EC2InstanceProfile: EC2 instance profile for Systems Manager.
  • KeyPair: EC2 key pair name.

Usage

  1. Open the AWS CloudFormation console.
  2. Create a new stack and upload the stack.yml file.
  3. Retrieve the endpoint from the database in the outputs.
  4. Open the install.sh file, edit the export variables.
  5. Connect to the EC2 and run the installation script.

Access GLPI

You should now be able to access to the GLPI web application by accessing your ALB's IP address in your web browser. The GLPI setup wizard should appear, allowing you to complete the setup process and enjoy.

  • MySQL server: <RDS ENDPOINT>
  • MySQL user: user
  • MySQL password: MySuperGlpi2022

Install wizard

Note

The CloudFormation template has a condition that checks if the region is us-east-1. If it is, the private subnet A is used for the EC2 instance, otherwise private subnet B is used.

Security

See CONTRIBUTING for more information.

License

This repository is licensed under the Apache License 2.0. See the LICENSE file.

glpi-on-rds-high-availability-for-aws's People

Contributors

czantoine avatar

Watchers

 avatar  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.