I would like to have an option to restart the EC2 instance on which the deployment is going to happen
Community moderators have prevented the ability to post new answers.
@grk684 you have this option in aws cli https://docs.aws.amazon.com/cli/latest/reference/ec2/reboot-instances.html , you can execute it as bash line just before your deploy command and then wait for some time (depending on your instance how long it takes to start)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.