Questions tagged with AWS Support Automation Workflows

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

  • 1
  • 12 / page
Hi everyone, I have a customer who is looking for moving from a Partner to AWS directly, thier consume is around $20K and they want to continue with the consume without a Support Plan; it's that ok? Can they working without a Plan? Thanks in advance,
3
answers
0
votes
19
views
asked 5 days ago
my standard server is down even though I don't have a different account in any way. I'm getting an error switching to nitro how can I fix this? i want to use my server this is a big mistake
1
answers
0
votes
23
views
asked a month ago
We have recently migrated to AWS from the previous hosting provider. However, since then we have stooped receiving client inquiries put on our website, in the form of emails which we used to get seamlessly earlier. We tried to contact them but were asked to pay for any technical support, so we did. We requested them to enable port 25 and they asked few questions like use-case for sending mail from EC2 and spam prevention mechanisms. After successfully answering both the questions, they said "We have lifted the restriction for your account in the following > region(s): ap-south-1" - we didn't understand what it is. So check if the email function is working. But it wasn't. Therefore, we wore back to them saying that it is still not working. To our surprise, they sent us this "After a thorough review, we confirmed our original finding and cannot grant your request. Please consider looking into the Simple Email Service (SES). We cannot assist you further with this issue and we may not respond to additional messages on this subject" Since then, they are not responding. We are still wondering how can they deny helping us sort out the issue or at least explain properly why certain things are not feasible at their end. It is totally unacceptable to bound customers to keep purchasing additional services by sending such rude emails and poor customer support. Inquiry [xxxxxxx] *Edit: Removed AWS Account ID - Ben G.
1
answers
0
votes
37
views
asked 2 months ago
very weird thing happening in AWS SSM Parameter Input. The pasted input below gets modified in AWS SSM Automation Documents. Can anyone tell me why this happens? It breaks my script and i can't work with this. here's my code ``` schemaVersion: "2.2" description: "Check HANA DB and stop it LINUX" mainSteps: - action: "aws:runShellScript" name: "HANA_DB_STOP" inputs: runCommand: - '#### errocodes' - '#### 0 = SCRIPT RAN OK' - '#### 10 = SCRIPT FAILED' - '' - '# stop hana db' - 'echo "Stopping Hana DB"' - 'sudo /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function Stop' - '' - '# check hana db state' - 'echo "Checking if Hana DB is running."' - 'HANADBSTATUS=`sudo /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList`' - 'sleep 20' - 'if [[ "$HANADBSTATUS" =~ "GRAY" ]]' - 'then' - ' echo "Hana DB is stopped."' - ' exit 0' - 'else' - 'i=1' - 'while [[ ! "$HANADBSTATUS" =~ "GRAY" ]] && [[ "$i" -lt 11 ]]' - ' do' - ' echo "Warning: HANA DB is running. Checking 10 times with 20 second intervalls until script aborts. This is check $i." ' - ' sudo /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function Stop' - ' sleep 20' - ' # check db state again' - ' HANADBSTATUS=`sudo /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList`' - ' ((i++))' - ' if [ "$i" = 10 ]' - ' then' - ' echo "Error: retried $i-Times. Couldnt stop DB. Exiting Script."' - ' echo "Script aborts with Error 0"' - ' exit 10' - ' fi' - ' done' - ' if [[ "$HANADBSTATUS" =~ "GRAY" ]]' - ' then' - ' echo "Hana DB is stopped."' - ' exit 0' - ' fi' - 'fi' ``` This is the output AWS gives me ``` schemaVersion: '2.2' description: Check HANA DB and stop it LINUX mainSteps: - action: 'aws:runShellScript' name: HANA_DB_STOP inputs: runCommand: - '#### errocodes' - "#### 0\t= SCRIPT RAN OK" - "#### 10\t= SCRIPT FAILED" - '' - '# stop hana db' - echo "Stopping Hana DB" - sudo /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function Stop - '' - '# check hana db state' - echo "Checking if Hana DB is running." - HANADBSTATUS=`sudo /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList` - sleep 20 - 'if [[ "$HANADBSTATUS" =~ "GRAY" ]]' - then - ' echo "Hana DB is stopped."' - ' exit 0' - else - i=1 - 'while [[ ! "$HANADBSTATUS" =~ "GRAY" ]] && [[ "$i" -lt 11 ]]' - "\tdo" - "\t\techo \"Warning: HANA DB is running. Checking 10 times with 20 second intervalls until script aborts. This is check $i.\" " - "\t\tsudo /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function Stop" - "\t\tsleep 20" - "\t\t# check db state again" - "\t\tHANADBSTATUS=`sudo /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList`" - "\t\t((i++))" - "\t\tif [ \"$i\" = 10 ]" - "\t\t\tthen" - "\t\t\t\techo \"Error: retried $i-Times. Couldnt stop DB. Exiting Script.\"" - "\t\t\t\techo \"Script aborts with Error 0\"" - "\t\t\t\texit 10" - "\t\tfi" - "\tdone" - "\tif [[ \"$HANADBSTATUS\" =~ \"GRAY\" ]]" - ' then' - ' echo "Hana DB is stopped."' - ' exit 0' - "\tfi" - fi ``` I know why \t gets added, but i still don't understand why and how it removes the ' in my scripts
1
answers
0
votes
51
views
asked 2 months ago
  • 1
  • 12 / page