JTCyberTech / Cybersecurity-Home-Labs

5 stars 1 forks source link

Part 2: Deploy Passbolt to AWS Cloud #34

Open JTCyberTech opened 1 year ago

JTCyberTech commented 1 year ago

Password Manager For AWS Cloud

Passbolt is an open-source, self-hosted password manager designed for teams and organizations. It provides a secure and collaborative platform for storing and sharing sensitive passwords and credentials, offering end-to-end encryption and robust access control. Passbolt enhances password management by allowing teams to maintain a centralized repository of credentials while ensuring data security and control.

Deploying Passbolt to AWS



- We will be using the "On-prem install" to take total control of Passbolt. - Click on "On-prem install".



- We will be using Community version which is free forever. - Click on "Get started for free.



- On the next page, we can scroll down until we see AWS and click on it.



- Click on "Deploy to AWS" on the next page.



- AWS Amazon page will pop up.



- The pricing is free even though it says $0.046 EC2/hr because we are using the free tier.



- Click on "Continue to Subscribe" at the top of the page.



- Click on "Accept Terms" on the middle of the page then "Continue to Configuration" at the top of the page.



- Click on "Continue to Configuration" at the top of the page if you don't need to change the Region.



- Scroll down and click on "Create New Based On Seller Settings". - Our approach will involve configuring Passport authentication using both HTTP and HTTPS protocols for immediate and future utilization. Additionally, we will establish port 22 accessibility for SSH connectivity, facilitating efficient instance management and configuration.



- Put the following information in: - Namer your security Group: Passbolt - Description: allow traffic - Click on "Save"



- Scroll down and on Key Pair Settings, click on "Create a key pair in EC2". - We will generate a key pair for our EC2 instance, a crucial security measure for securely accessing Amazon Elastic Compute Cloud instances. This pair comprises a public and private key, serving to authenticate and safeguard access to the instance during launch.



- New window will open, click on "Action" button on the top right corner. Then "Import key pair".



- We will name it: passbolt and for the Key pair we will need to use our Linux VM.



- Go to our Linux VM. Open terminal and type in: "ssh-keygen". - We will press enter to save the key in default location. - Press enter twice for no passphrase.



- We will use the cat command to open the file where the key is saved. - Type in: "cat /home/jeff/.ssh/id_rsa.pub"



- Paste everything we got from the Cat command into AWS key pair. And click on "Import key pair".



- Go back to the Key Pair Settings page and select our new key pair: "passbolt". Then click "Launch".



- We will be greeted with this page saying our EC2 is successfully deployed. - Click on "EC2 Console".



- A new instance is created and running but initializing. Wait until it finishes initializing.



- Once it finished Initializing. Click on the Instance ID.



- A new window will open. Click on "open address".



- Change the site from https to http. Then click on "Continue to site".



- Then we will get to this page where we can configure our Passbolt.