SP-018-001 Remote infrastructure control access policy
Procedure flowchart
Purpose
This procedure defines the process to grant remote access to a specific resource in AWS.
Scope
This procedure applies to all our software development team.
Responsibilities
JD-001
- To approve the entire process of granting permissions to team members.
JD-005
- To ensure that the entire process of granting permissions is carried out according to the methodology established in the present procedure.
Inputs
- Team member's fullname.
- Team member's IP.
Outputs
- An updated policy that grants remote access to the user.
- The credentials generated for allowing remote access to the user.
Development
The process for granting access to a remote resource to a team member must follow these steps:
-
Request the team member's IP and his or her fullname.
-
Create, if not exist, a new AWS Security Group whose name will be the user's fullname converted to lower case, replacing spaces with hypens and removing accents. For example: 'Gerardo Fernández Moreno' will be transformed to
gerardo-fernandez-moreno
. -
This security group should have at least one rule:
Port | IP | Description |
---|---|---|
22 | XXX.XXX.XXX.XXX (User's IP) | Gerardo's home |
-
Add the security group to the specified resource.
-
Create a new user inside the specified resource following the same convention that the one used for the name of the security group.
-
If the resource accepts remote connection via SSH, generate a new
pem
file for the user (if not exists), and add it/home/{username}/.ssh/authorized_keys
. Instructions. Otherwise, create a new user with the corresponding password in the device and share the credentials with the team member through 1Password.
Document signature meaning
- Author: JD-004 María Diez and/or JD-007 Gerardo Fernández
- Review: JD-005 Mr. Alfonso Medela
- Approval: JD-001 Ms. Andy Aguilar