Skip to content

mehmeterslann/AWS-Management-Console-Private-Access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



AWS MANAGEMENT CONSOLE PRIVATE ACCESS

🔧 Required Tools:

Places to be edited We can configure aws and arrange the parts in the private-console.ts file under the bin file according to our own configurations.

let region:string= ""; #The region where the cdk will be deployed must contain regions supported by AWS manage private console access. AWS DOC: https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/console-private-access.html
let CompanyName:string= "";   
let whichEnv:string= "";
let accountid:string="";


const vpcTest = new network.VPC(app, 'VPC', {
    company: CompanyName,
    cidr: '10.120.0.0/16', #VPC cidr to use
    whichEnv: whichEnv,
    zone:1,
    gateway:1
});

PrivateAccess-policy must be attached after the cdk is deployed on users to restrict public access. In the openvpn server, the client.ovpn was created ready under the /root directory, you can connect to the server via ssm and get the ovpn file and establish a connection

Bootstrap

  • cdk bootstrap

Build Command

  • npm install

Resource check

  • npm run private-console diff "*"

Deploy Command

  • npm run private-console-deploy "*"

About

AWS-Management-Console-Private-Access

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published