Version control Storing notebooks in a Git repository enables you to record

Version control storing notebooks in a git repository

This preview shows page 38 - 40 out of 395 pages.

Version control – Storing notebooks in a Git repository enables you to record code changes in a version-control system so that you can review the history of your changes and selectively reverse some of the changes. Collaboration – Storing your notebooks in Git repositories allows peers working in different notebooks to share code through remote Git repositories. Notebooks can clone or merge code from remote Git repositories and push changes back to those remote repositories. Code reuse – Many Jupyter notebooks that demonstrate data analysis or machine learning techniques are available in publicly hosted Git repositories, such as on GitHub. You can associate your notebooks with a repository to reuse the Jupyter notebooks contained in that repository. Before associating a Git repository with your notebook, you need to make sure that your cluster, IAM role, and security groups have the correct settings and permissions. 32
Image of page 38
Amazon EMR Management Guide Add a Git Repository to Amazon EMR The network interface that is launched has only a private IP address. This means that the cluster that your notebook connects to must be in a private subnet with a network address translation (NAT) gateway or must be able to access the internet through a virtual private gateway. For more information, see Amazon VPC Options . Important If the network interface is launched into a public subnet, it won’t be able to communicate with the internet through an internet gateway (IGW). If you need a secret for the repository, the service role for EMR notebooks must have the secretsmanager:GetSecretValue permission in its IAM policy. For more information, see Service Role for EMR Notebooks . The security groups for your notebook must include an outbound rule to allow the notebook to route traffic to the internet via the cluster. It is recommended that you create your own security groups. For more information, see Specifying EC2 Security Groups for EMR Notebooks . To manage your Git repositories, add the repositories as resources in the Amazon EMR console, associate credentials for repositories that require authentication, and link them with your notebooks. You can view a list of repositories that are stored in your account and details about each repository in the Amazon EMR console. You can also create a notebook with an existing Git repository. Topics Add a Git Repository to Amazon EMR (p. 33) Update or Delete a Git Repository (p. 34) Link or Unlink a Git Repository (p. 34) Create a New Notebook with an Associated Git Repository (p. 35) Use Git Repositories in a Notebook (p. 36) Add a Git Repository to Amazon EMR To add a Git repository as a resource in your Amazon EMR account 1. Open the Amazon EMR console at .
Image of page 39
Image of page 40

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

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes