On July 31, 2024, Amazon Web Services (AWS) will discontinue support for creating and viewing AWS CodeStar projects. After July 31, 2024, you will no longer be able to access the AWS CodeStar console or create new projects. However, the AWS resources created by AWS CodeStar, including your source repositories, pipelines, and builds, will be unaffected by this change and will continue to function. AWS CodeStar Connections will not be impacted by this discontinuation.
If you wish to track work, develop code, and build, test, and deploy
your applications, Amazon CodeCatalyst provides a streamlined getting started
process and additional functionality to manage your software projects. Learn
more about functionality
Setting Up AWS CodeStar
Before you can start using AWS CodeStar, you must complete the following steps.
Topics
Step 1: Create an account
Sign up for an AWS account
If you do not have an AWS account, complete the following steps to create one.
To sign up for an AWS account
Follow the online instructions.
Part of the sign-up procedure involves receiving a phone call and entering a verification code on the phone keypad.
When you sign up for an AWS account, an AWS account root user is created. The root user has access to all AWS services and resources in the account. As a security best practice, assign administrative access to an administrative user, and use only the root user to perform tasks that require root user access.
AWS sends you a confirmation email after the sign-up process is
complete. At any time, you can view your current account activity and manage your account by
going to https://aws.amazon.com/
Create an administrative user
After you sign up for an AWS account, create an administrative user so that you don't use the root user for everyday tasks.
Secure your AWS account root user
-
Sign in to the AWS Management Console
as the account owner by choosing Root user and entering your AWS account email address. On the next page, enter your password. For help signing in by using root user, see Signing in as the root user in the AWS Sign-In User Guide.
-
Turn on multi-factor authentication (MFA) for your root user.
For instructions, see Enable a virtual MFA device for your AWS account root user (console) in the IAM User Guide.
Create an administrative user
-
For your daily administrative tasks, grant administrative access to an administrative user in AWS IAM Identity Center.
For instructions, see Getting started in the AWS IAM Identity Center User Guide.
Sign in as the administrative user
-
To sign in with your IAM Identity Center user, use the sign-in URL that was sent to your email address when you created the IAM Identity Center user.
For help signing in using an IAM Identity Center user, see Signing in to the AWS access portal in the AWS Sign-In User Guide.
Step 2: Create the AWS CodeStar Service Role
Create a service role that is used to give AWS CodeStar permission to administer AWS resources and IAM permissions on your behalf. You only need to create the service role once.
Important
You must be signed in as an administrative user (or root account) to create a service role. For more information, see Creating Your First IAM user and Group.
-
Open the AWS CodeStar console at https://console.aws.amazon.com/codestar/
. -
Choose Start project.
If you do not see Start project and are directed to the projects list page instead, the service role has been created.
-
In Create service role, choose Yes, create role.
-
Exit the wizard. You come back to this later.
Step 3: Configure the User's IAM Permissions
In addition to the administrative user, you can use AWS CodeStar as an IAM user, a federated user, the root user, or an assumed role. For information about what AWS CodeStar can do for IAM users versus federated users, see AWS CodeStar IAM Roles.
If you have not set up any IAM users, see IAM user.
To provide access, add permissions to your users, groups, or roles:
-
Users and groups in AWS IAM Identity Center:
Create a permission set. Follow the instructions in Create a permission set in the AWS IAM Identity Center User Guide.
-
Users managed in IAM through an identity provider:
Create a role for identity federation. Follow the instructions in Creating a role for a third-party identity provider (federation) in the IAM User Guide.
-
IAM users:
-
Create a role that your user can assume. Follow the instructions in Creating a role for an IAM user in the IAM User Guide.
-
(Not recommended) Attach a policy directly to a user or add a user to a user group. Follow the instructions in Adding permissions to a user (console) in the IAM User Guide.
-
Step 4: Create an Amazon EC2 Key Pair for AWS CodeStar Projects
Many AWS CodeStar projects use AWS CodeDeploy or AWS Elastic Beanstalk to deploy code to Amazon EC2 instances. To
access Amazon EC2 instances associated with your project, create an Amazon EC2 key pair for your
IAM user. Your IAM user must have permissions to create and manage Amazon EC2 keys (for
example, permission to take the ec2:CreateKeyPair
and
ec2:ImportKeyPair
actions). For more information, see Amazon EC2 Key Pairs.
Step 5: Open the AWS CodeStar Console
Sign in to the AWS Management Console, and then open the AWS CodeStar console at https://console.aws.amazon.com/codestar/
Next Steps
Congratulations, you have completed the setup! To start working with AWS CodeStar, see Getting Started with AWS CodeStar.