Book Image

AWS Administration - The Definitive Guide - Second Edition

By : Yohan Wadia
Book Image

AWS Administration - The Definitive Guide - Second Edition

By: Yohan Wadia

Overview of this book

Many businesses are moving from traditional data centers to AWS because of its reliability, vast service offerings, lower costs, and high rate of innovation. AWS can be used to accomplish a variety of both simple and tedious tasks. Whether you are a seasoned system admin or a rookie, this book will help you to learn all the skills you need to work with the AWS cloud. This book guides you through some of the most popular AWS services, such as EC2, Elastic Beanstalk, EFS, CloudTrail, Redshift, EMR, Data Pipeline, and IoT using a simple, real-world, application-hosting example. This book will also enhance your application delivery skills with the latest AWS services, such as CodeCommit, CodeDeploy, and CodePipeline, to provide continuous delivery and deployment, while also securing and monitoring your environment's workflow. Each chapter is designed to provide you with maximal information about each AWS service, coupled with easy to follow, hands-on steps, best practices, tips, and recommendations. By the end of the book, you will be able to create a highly secure, fault-tolerant, and scalable environment for your applications to run on.
Table of Contents (17 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Getting Started with AWS CodeCommit


As discussed earlier, AWS CodeCommit is a secure and highly scalable source control service which allows you to create multiple private Git repositories without having to bother about any of the underlying management overheads. You can use it to store anything, from code, to application binaries, to even code packages, all using the standard Git-like functionality. This makes CodeCommit extremely easy to work with even if you have not used it before. Here is the gist of some of the most commonly used Git commands and how you can leverage them with CodeCommit:

  • git clone: Used to clone and connect the AWS CodeCommit repository over to your local development server.
  • git add: Once the repository is cloned locally, you can use it to add, edit, or delete files as you see fit. Once done, use the git add command to stage the modifications in your local Git repository.
  • git commit: Used to commit the modifications made to the files to the local Git repository.
  • git push...