2 Choose Git repositories then choose Add repository 3 For Repository name

2 choose git repositories then choose add repository

This preview shows page 39 - 41 out of 395 pages.

2. Choose Git repositories , then choose Add repository . 3. For Repository name , enter a name to use for the repository in Amazon EMR. Names may only contain alphanumeric characters, hyphens (-), or underscores (_). 4. For Git repository URL , enter the URL for the repository. 5. For Branch , enter a branch name. 6. For Git credentials , choose the credentials to use to authenticate to the repository. • Choose Use an existing AWS secret and select a secret from the list. The existing secret must be in the following format: {"gitUsername": UserName, "gitPassword": Password}. • Choose Create a new secret . If you use Username and password , enter a name for the secret, and then enter the username and password. If you have two-factor authentication enabled for your Git repository, choose Personal access token (PAT) . We recommend using a personal access token generated by your Git service provider instead of your account password. For more information, see Creating a personal access token for the command line for GitHub and Personal access tokens for Bitbucket . • Choose Use a public repository without credentials if the Git repository is public. 33
Image of page 39
Amazon EMR Management Guide Update or Delete a Git Repository 7. Choose Add repository . Update or Delete a Git Repository To update a Git repository 1. On the Git repositories page, choose the repository you want to update. 2. On the repository page, choose Edit repository . 3. Update Git credentials on the repository page. To delete a Git repository 1. On the Git repositories page, choose the repository you want to delete. 2. On the repository page, choose all the notebooks that are currently linked to the repository. Choose Unlink notebook . 3. On the repository page, choose Delete . Note To delete the local Git repository from Amazon EMR, you must first unlink any notebooks from this repository. For more information, see Link or Unlink a Git Repository (p. 34) . Deleting a Git repository will not delete any secret created for the repository. You can delete the secret in AWS Secrets Manager. Link or Unlink a Git Repository To link a Git repository to an EMR notebook The repository can be linked to a notebook once the notebook is Ready . 1. From the Notebooks list, choose the notebook you want to update. 2. In the Git repositories section on the Notebook page, choose Link new repository . 3. In the repository list of the Link Git repository to notebook window, select one or more repositories that you want to link to your notebook, and then choose Link repository . Or 1. On the Git repositories page, choose the repository you want to link to your notebook. 2. In the list of EMR notebooks , choose Link new notebook to link this repository to an existing notebook. To unlink a Git repository from an EMR notebook 1. From the Notebooks list, choose the notebook you want to update.
Image of page 40
Image of page 41

You've reached the end of your free preview.

Want to read all 395 pages?

  • Spring '12
  • LauraParker
  • Amazon Web Services, Amazon Elastic Compute Cloud

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors