Hi, everyone, and welcome back.
Now, in today's video, we are going to discuss about the basics of code deploy service.
Now, at this stage, we have already discussed about the basics of code and how code will can compile
your application and upload the necessary artifacts to a central storage service like S3.
Now, at this stage our binary is stored in S3, so our application binary is in S3, but where is the
exact place where we need our application?
It is the ESI two instances.
So at this stage code is not uploading this binary to ESI two instances and this is one of the limitations.
And in order to overcome this, ADA has one more service.
Call this code deploy.
So the code deploy is a deployment service that automates the deployments to variety of compute services
like easy to forget Lambda and others.
So what code deploy does it fetches the necessary binaries from?
Storage is like S3 and it will deploy it to various services like AC two, Lambda Target and others
and if need be, could deploy can also do various things like setting up the necessary environment,
starting the application after it has been deployed and various others.
So let's go ahead and have a quick demo of code deployed.
Now for today's demo, I already have a code deploy that is configured, so let's quickly open this
up and let's quickly create a new deployment.
Now, at this stage, the only thing that you need to know is on how the code deploy will go ahead and
fetch the contents from a storage device and it will deploy to easy two instance.
That is the primary aim that we want to look into.
Other things will avoid as of now, primarily because our intention for this video is very simple.
So let's go ahead and let's click on Create Deployment.
Now, before we do that, what code deploy will do the binary that is stored in S3 bucket.
It will go ahead and it will store to a folder of temp.
So this is the folder where it will go ahead and store the binary into.
So let's go ahead and create the deployment.
So the status currently is in progress.
And you see it is now succeeded.
Now, if we run the command once more, you see, our binary of my hyphen app has successfully been
deployed to the server, and once your application is deployed to the server, you can start the application
and you can even configure various other things if you'd like.
Great.
So I hope with this you understood the basics of code deploy service and with this will conclude today's
video.