Instance restart Google Cloud VM [closed] - google-cloud-platform

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I do not know if I am in the right place, but I have hired a Google Cloud VM and it restarts practically every week and it cannot be. Is there a way to prevent the machine from restarting?
Thank you.

This could be caused by two things:
1) Go to the VM-instance details page and check if Migrate VM-instance has been selected for host maintenance. Select this option if it's not, this should fix your problem (if the VM is not connected to a GPU).
2) According to the documentation instances with a GPU must terminate for host maintenance events and automatically restart. These maintenance events typically occur once per month but can occur more frequently.
You can receive advanced notice of host maintenance events by monitoring the /computeMetadata/v1/instance/maintenance-event metadata value. If this returns TERMINATE_ON_HOST_MAINTENANCE, you'll have one hour to prepare for the restart.

Related

error provisioning aws instances with terraform [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 days ago.
Improve this question
i am trying to set up a kubernetes cluster manually on AWS. I tried creating three master nodes and three worker nodes but i get errors. I am using terraform to create the resources
i was expecting the infrastructure creation to go smoothly, but i got an error :
Error: creating EC2 Instance: PendingVerification: Your request for
accessing resources in this region is being validated, and you will
not be able to launch additional resources in this region until the
validation is complete. We will notify you by email once your request
has been validated. While normally resolved within minutes, please
allow up to 4 hours for this process to complete. If the issue still
persists, please let us know by writing to aws-verification#amazon.com
for further assistance.
i really dont understand what it is saying

Need basic AIOps implementation example for log monitoring in AWS [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 months ago.
Improve this question
AIOps seems like a very interesting topic. I also watched AWS Summit presentation on this.
I have a logging nad monitoring solution where all system and application logs of all EC2 and EKS are forwarded cloudwatch log group.
To get a jump start on AIOps, how can I use AI to predict/preempt incidents?
Just discovered cloudwatch already provides a fair amount of IOps already built in.
"Cloudwatch Anomaly Detection" - this seems to do the trick!
Very nice video on this available here - https://youtu.be/8umIX-pUy3k

Is there anything against using Cloud Run for a server side GTM [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed last year.
Improve this question
I have been setting up several server side GTMs for my company in the last months. I have deployed both App Engine Flexible versions, as well as Cloud Run hosted ssGTMs.
I found using Cloud Run easier to setup and also cheaper as long as you stay under 300 million requests per month. Custom domain setup is also only slightly different.
The official documentation Basically only covers App Engine and Manual deployment.
I was wondering if there is any downside towards using Cloud Run for hosting your ssGTM besides potential cold starts (which I do not really care about).
I'm not very familiar with GTM but here are few things for using Cloud Run you have to figure out first.
Is GTM completley stateless ? Or does it needs State, Cloud Run doesn't offer a filesystem kind capabilities for storing files on disk
Is GTM already available as a container ?
You can avoid cold starts by setting the min replicas to 1 or higher so that there is at least always 1 instance available to serve traffic.

Are there any reasons why one should not enable AWS Compute Optimizer? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed last year.
This post was edited and submitted for review last year and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
Based on their documentation, it's free.
There is no additional charge for Compute Optimizer. EC2 instance type and EC2 Auto Scaling group configuration recommendations are available for free. You pay only for the AWS Compute resources needed to run your applications and Amazon CloudWatch monitoring fees.
Being free and potentially can lower cost, I fail to see the downside of it.
And since the feature is not enabled by default, there must be reasons why one should not enable it.
While I cannot think of a reason to not opt-in for the service, it is NOT totally free, and costs $0.0003360215 resource/hour based on the number of hours a resource is running per month. This should, however, be much lesser a price to be paid for the savings it can potentially offer in most cases.
Do make sure to check the official page for the latest pricing - https://aws.amazon.com/compute-optimizer/pricing/

Creating an Oracle Db in AWS [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am trying to see if there is an easy way to setup my Oracle SQL Developer so that I can run everything though it but store data on my AWS account (free tier). I tried creating a RDS (which will likely expire after 12 months) database and used the endpoint + port to create a new database connection in SQL developer and even with the correct username/password it errors out the below message.
To be clear, I am trying to do what this guy did in his video but I am receiving an error. I think something might be wrong with my security group. The group type that he used is not an attribute of the current drop down options in there. I was thinking perhaps there is another way of doing it, such as a SSH or something of that nature.
YouTube Link
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
Anyone have any good ideas?
No.
AWS Dynamo is not a relational DB...it does not understand SQL.