Update all the packages and then clone the code. Clone your application's code repository onto the EC2 instance: ...