Very Good Question - Your Service availability requirement should define that. In other words, how much is your application tolerant to failures? You can wait for SysOps to look at alarms and fix it - then you can go ahead with CW Alarms If you want them to be up (atleast most of the times) then consider using Auto Scaling etc.,
Welcome to our channel. The CLI command is just to demonstrate how the recovery works. If you are trying to reproduce the same effect, then you can run it on any other machine configured with AWS CLI (access/secret key) with permissions to make cloudwatch changes.
Can this be also implemented for Cross Region EC2 Auto Recovery ? Meaning if EC2 goes down in Region-A, I want it to be automatically recovered/launched in Region-B from latest its snapshot.
You should be able to do it yourself, with all the code we have published. If you still need help, You can reach our professional service team here - ruclips.net/user/valaxytechnologiesabout Ofcourse, Remember⏳=💰 :)
Interesting question: An quick google search turned out nothing. (extrapolating information) I think it is to do with the fact that the 'auto recovery' status is an alarm, and we need to query to the alarm to get the metdata. In any case what are you trying to do? Doesn't lambda help?
Hi SIr...Thanks for the video and im getting this error.when im running commands in the AWS CLI An error occurred (ResourceNotFound) when calling the SetAlarmState operation: Unknown please suggest.
Hi, Thanks for sharing this nice video. I have one small doubt suppose if we want to monitor all instances means how we can monitor ec2 status check failures for all ec2 instances in my asw account?
CloudWatch Alarms is your friend - ruclips.net/video/lu3QEoSW2NI/видео.html More on CloudWatch Alarms from #Valaxy - ruclips.net/channel/UC_evcfxhjjui5hChhLE08tQsearch?query=alarms
How do you auto recover an ec2 instance using the latest snapshot/ backup?
Use SNS/Lambda in the cloudwatch alarm actions
@@ValaxyTechnologies Do we have any article or video reference to recover the Ec2 from snapshot/backup using SNS/Lambda ?
On what basis should we choose auto recovery of ec2 instances between auto scaling groups (vs auto recovery via CW alarms (vs) use of lambda function?
Very Good Question - Your Service availability requirement should define that. In other words, how much is your application tolerant to failures? You can wait for SysOps to look at alarms and fix it - then you can go ahead with CW Alarms
If you want them to be up (atleast most of the times) then consider using Auto Scaling etc.,
in
The Aws cli command where we have to run
Welcome to our channel.
The CLI command is just to demonstrate how the recovery works. If you are trying to reproduce the same effect, then you can run it on any other machine configured with AWS CLI (access/secret key) with permissions to make cloudwatch changes.
Can this be also implemented for Cross Region EC2 Auto Recovery ?
Meaning if EC2 goes down in Region-A, I want it to be automatically recovered/launched in Region-B from latest its snapshot.
Hey! I want to stop and start instance when status checks failed,but for all instances using lambda function.Can you help me on this?
You should be able to do it yourself, with all the code we have published. If you still need help,
You can reach our professional service team here - ruclips.net/user/valaxytechnologiesabout
Ofcourse, Remember⏳=💰 :)
Is there a aws cli command to find the status of auto recovery, if so can you share. Thanks
Interesting question: An quick google search turned out nothing. (extrapolating information) I think it is to do with the fact that the 'auto recovery' status is an alarm, and we need to query to the alarm to get the metdata.
In any case what are you trying to do? Doesn't lambda help?
Hi SIr...Thanks for the video and im getting this error.when im running commands in the AWS CLI
An error occurred (ResourceNotFound) when calling the SetAlarmState operation: Unknown
please suggest.
I have tried this and it is worked out.Both Amazon instance region and Commandline interface both should be in same state(region).
Hi, Thanks for sharing this nice video. I have one small doubt suppose if we want to monitor all instances means how we can monitor ec2 status check failures for all ec2 instances in my asw account?
CloudWatch Alarms is your friend - ruclips.net/video/lu3QEoSW2NI/видео.html
More on CloudWatch Alarms from #Valaxy - ruclips.net/channel/UC_evcfxhjjui5hChhLE08tQsearch?query=alarms
Really good one.. Thanks for sharing...
You are welcome, look into our automation playlist to automate your AWS Infrastructure in simple steps
thanks man .... you are awesome
You are welcome. Do Check out the #Valaxy automation playlist in our channel.