Posted On: Jul 21, 2020
AWS CodeBuild now supports accessing your build environments with AWS Session Manager so you can investigate and diagnose build issues. With support for AWS Session Manager, you can access your Linux and Windows build environments through an interactive one-click browser-based shell or through the AWS CLI.
Session Manager provides secure, controlled, and auditable access without the need to open inbound ports, maintain bastion hosts, or manage SSH keys. Using the CodeBuild console, you can create one or more sessions for each build execution. In each session, you will have full access to the container hosting your build so you can troubleshoot without needing to update our build scripts.
You can get started by opening a CodeBuild project in the console, starting a new build, and enabling session connections in the build configuration. After the build starts, view the build run and open the Session Manager tab to start a new session or manage existing ones. Integration with Session Manager is available in all AWS Regions supported by CodeBuild.