Question: Frustrating experience with AWS Certification and Pearson

"Exam Date :25th November, 2021I am a student and AWS certification is mandated as part of my course work. I need the results asap.I gave my test on 25th November, 2021. I still did not receive any update on my exam results. Support said it is under security review, but it has passed 5 business days.It would be great if you can expedite my results. This is important for my course completion.FollowComment"

Answer: "1Hi there,I'm sorry to hear your results have been delayed, especially given that you might have deadlines for your course results.To the best of my knowledge, the certification exam process, including proctoring the exam, security reviews, and scoring are entirely managed by 3rd-parties like Pearson and my guess is that AWS has no way of influencing or expediting the results or review of an individual exam. I might suggest contacting Pearson support again, explaining your timeline requirements, and asking for escalation.Note - I do not represent AWS or Pearson, only sharing my perspective.CommentSharemwrbanswered a year ago0AWS-User-3881538,If you have not already and your results are still not available,  please submit a ticket to the Training & Certification support team. We will investigate and provide a resolution as soon as possible.KimAWS CertificationCommentShareKimWD-AWSanswered a year agoAWS-User-3881538 a year agoHiBelow is the case number. But I haven't got any response from them.@Kim Can you please help by looking into this.CASE 9296388291Share0Could you explain why they decided to put your exam under security review?I have always given Pearson Vue exams online in my office and when I finished my exam they told me whether or not to pass the test and after 1 or 2 days I could see my score report in "Training and Certification".I hope you have been able to see your results, if you do not tell us in what mode did you give it?CommentShareMaxCloudanswered a year ago"


Question: API Gateway Proxy to API Gateway

"I was building a serverless API with Lambdas when I encountered an issue regarding Authorizers quotas. However, to bypass it, I thought about splitting the API into several APIs and then rejoining them with an API Gateway.So, originally I had the following APIs:Service API/path1/operation1/path1/operation2/path2/operation3/path2/operation4Internal API/some-other-opsAnd, after splitting the Service API, my idea was to come up with this:Path1 API/operation1/operation2Path2 API/operation3/operation4Service API/path1/{proxy+} > Path1 API/path2/{proxy+} > Path2 APIInternal API/some-other-opsMy concern here is about egress traffic. When doing such HTTP proxy from one API Gateway to another API Gateway, I'm specifying the "public" execute endpoint of the API, henceforth making HTTP requests.Do these requests get outside AWS network, or is API Gateway aware that we are doing "internal" requests to a public endpoint (so traffic is not duplicated and does not count towards egress traffic billing)?Also, if someone has a better solution about how the original Service API can be split, all help is very much appreciated. Thanks!FollowCommentDakota Lewallen 5 months agoThis sounds relatively complicated for a pretty mundane problem. I would look into having your service quota increased first before going too much further with this approach. And going out on a limb, but considering how you configure proxying by providing the domain name, I would highly doubt it would "detect" and attempt to redirect traffic. Very likely it has to go over the open internet and would count against egress traffic costs.https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.htmlShareDiego Barreiro 5 months agoThanks for the comment @Dakota. Yeah, I have already requested the quota increase, but I'm still pushing forward with this solution as I may reach the limit again (and, well, I would need to request a Quota increase on every region/account and the SLA of the team which handles that Quota takes a few days to respond).I think I was able to come up with quite an elegant solution, which is using a custom domain name. Basically, I've now a custom domain (api.example.org), and I'm using Base Path Mappings to point to each Path API (api.example.org/path1 -> Path1 API, etc.).Share"

Answer: 1I 100% agree with the comment above - this is adding a lot of complexity for not much extra gain. If you are running very large services where the service limits are going to impact you then I'd suggest that running those APIs in different accounts without a front-end API is a better idea. Otherwise you're just moving the limit problem around.And if you are operating at that scale I'd also recommend reaching out to your local AWS Solutions Architect to talk about what patterns will work better for you.To answer your other question though: Traffic between AWS services always stays on the Amazon backbone network. This is called out in the VPC FAQ where it talks about two instances communicating via public IP addresses - this is also true for (in this case) API Gateway calling another API Gateway.CommentShareEXPERTBrettski-AWSanswered 5 months ago


Question: Comprehend Endpoint Pricing - Clarification

"The comprehend end point pricing says it is based on the active seconds.https://aws.amazon.com/comprehend/pricing/"Endpoints are billed on one second increments, with a minimum of 60 seconds. Charges will continue to incur from the time you start the endpoint until it is deleted even if no documents are analyzed."Is it something like I create the end point now and i didn't use it for 1 day.  Will it billed for 24 * 60 * 60 * 0.0005 = 43.2$/day, even though i didn't used it for analysis ? This cost seems to be very high, is my understanding correct ?Can someone clarify the "active" part in the pricing statement ?Thank you.FollowComment"

Answer: "1Yes. The documentation for Amazon Comprehend gives the same guidance to delete endpoints after use.https://docs.aws.amazon.com/comprehend/latest/dg/custom-sync.htmlCommentShareGeno_AWSanswered 7 months agoNavin GV 7 months agoIf i do the below mentioned sequence, will it be fast to make it look like real time/sync api ?create end pointrun analysisdelete end pointAny idea, what is the combined latency for this  3 api calls ?3 we can make it as async call also.Share1That is correct. You are charged for the endpoint regardless of use until the endpoint is deleted. The console will show you the cost based on the configuration.CommentShareGeno_AWSanswered 7 months agoNavin GV 7 months agoThats too costly. I am not going to use it all time, say I would use it for 100 sync analysis per day. The total usage time will be around 1 hour.  Are there any way work around to achieve this ?for sync analysis, do we need to create the end point and delete after analysis  ?Share"


Question: AWS ELB lots of 5xx when facing high peak

"I am experiencing a high number of ELB 5xx errors where it did not forward the traffic to my ECS targets, during a high peak where access went up from 10k to 60k per minute.After research we are quite confident that it is not anything in here: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-troubleshooting.html. And also the ECS service itself is running well.  Anyone has any idea what could be the bottleneck for ELB?FollowCommentFranky Chen a year agoCould you please clarify which 5xx you saw? 502, 503, 500 or other? When 5xx error occurred, can you check if all ECS targets are healthy and reachable?Share"

Answer: "0You may be experiencing a ramp up so fast the ALB is not scaling fast enough. Look at the following metrics:ActiveConnectionCountNewConnectionCountRejectedConnectionCountIf you are using a Classic Load Balancer, Look at the following metrics:RequestCountSpilloverCountSurgeQueueLengthIf you see that you are not scaling fast enough, you can work with support to "pre-warm" the load balancers by filing a support ticket.CommentShareRodney Lesteranswered a year agoEXPERTToni_Sreviewed a year ago"


Question: Transcribing with HTTP and getting 404 UnknownOperationException

"I followed the example in https://docs.aws.amazon.com/transcribe/latest/dg/getting-started-http-websocket.html to get a transcription job information and also followed the POST example in https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html for signature signing. However, I am getting 404 <UnknownOperationException/>Because of legacy code, we are using python 2.7 so I cannot use AWS SDK / boto3.Here is the debug output:BEGIN REQUEST++++++++++++++++++++++++++++++++++++Request URL = https://transcribe.us-west-2.amazonaws.com/data = {"TranscriptionJobName": "test1"}headers = {'Authorization': 'AWS4-HMAC-SHA256 Credential=********/20220419/us-west-2/transcribe/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target;x-amz-security-token, Signature=*******', 'Content-Type': 'application/x-amz-json-1.0', 'X-Amz-Date': '20220419T205700Z', 'X-Amz-Target': 'com.amazonaws.transcribe.Transcribe.GetTranscriptionJob'}RESPONSE++++++++++++++++++++++++++++++++++++Response code: 404<UnknownOperationException/>And here is the code:import sys, os, base64, datetime, hashlib, hmac import requests # pip install requestsimport pprint# ************* REQUEST VALUES *************method = 'POST'service = 'transcribe'host = 'transcribe.us-west-2.amazonaws.com'region = 'us-west-2'endpoint = 'https://transcribe.us-west-2.amazonaws.com/'content_type = 'application/x-amz-json-1.0'amz_target = 'com.amazonaws.transcribe.Transcribe.GetTranscriptionJob'# params for GetTranscriptionJobrequest_parameters1 =  '{'request_parameters1 +=  '"TranscriptionJobName": "test1"'request_parameters1 +=  '}'# params for StartTranscriptionJobrequest_parameters2 =  '{'request_parameters2 +=  '"TranscriptionJobName": "test2 via https",'request_parameters2 +=  '"IdentifyLanguage": true,'request_parameters2 +=  '"Media": { "MediaFileUri": "********mp3"},'request_parameters2 +=  '"Subtitles": true'request_parameters2 +=  '}'request_parameters = request_parameters1def sign(key, msg):    return hmac.new(key, msg.encode("utf-8"), hashlib.sha256).digest()def getSignatureKey(key, date_stamp, regionName, serviceName):    kDate = sign(('AWS4' + key).encode('utf-8'), date_stamp)    kRegion = sign(kDate, regionName)    kService = sign(kRegion, serviceName)    kSigning = sign(kService, 'aws4_request')    return kSigning# access_key = os.environ.get('AWS_ACCESS_KEY_ID')# secret_key = os.environ.get('AWS_SECRET_ACCESS_KEY')access_key = '**************'secret_key = '**************'if access_key is None or secret_key is None:    print('No access key is available.')    sys.exit()# Create a date for headers and the credential stringt = datetime.datetime.utcnow()amz_date = t.strftime('%Y%m%dT%H%M%SZ')date_stamp = t.strftime('%Y%m%d') # Date w/o time, used in credential scopecanonical_uri = '/'canonical_querystring = ''canonical_headers = 'content-type:' + content_type + '\n' + 'host:' + host + '\n' + 'x-amz-date:' + amz_date + '\n' + 'x-amz-target:' + amz_target + '\n'signed_headers = 'content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target;x-amz-security-token'payload_hash = hashlib.sha256(request_parameters.encode('utf-8')).hexdigest()canonical_request = method + '\n' + canonical_uri + '\n' + canonical_querystring + '\n' + canonical_headers + '\n' + signed_headers + '\n' + payload_hashalgorithm = 'AWS4-HMAC-SHA256'credential_scope = date_stamp + '/' + region + '/' + service + '/' + 'aws4_request'string_to_sign = algorithm + '\n' +  amz_date + '\n' +  credential_scope + '\n' +  hashlib.sha256(canonical_request.encode('utf-8')).hexdigest()signing_key = getSignatureKey(secret_key, date_stamp, region, service)signature = hmac.new(signing_key, (string_to_sign).encode('utf-8'), hashlib.sha256).hexdigest()authorization_header = algorithm + ' ' + 'Credential=' + access_key + '/' + credential_scope + ', ' +  'SignedHeaders=' + signed_headers + ', ' + 'Signature=' + signatureheaders = {'Content-Type':content_type,           'X-Amz-Date':amz_date,           'X-Amz-Target':amz_target,           'Authorization':authorization_header}# ************* SEND THE REQUEST *************print('\nBEGIN REQUEST++++++++++++++++++++++++++++++++++++')print('Request URL = ' + endpoint)print('data = ' + request_parameters)print('headers = ' + pprint.pformat(headers))r = requests.post(endpoint, data=request_parameters, headers=headers)print('\nRESPONSE++++++++++++++++++++++++++++++++++++')print('Response code: %d\n' % r.status_code)print(r.text)FollowComment"


Question: Backup from on-prem to S3 via Direct Connect

"My customer is uing Veritas Netbackup 8.2 and CloudCatalyst to backup to S3 buckets over the internet and they want to leverage existing Direct Connect connection - bandwidth and data transfer rate is not an issue (see below). I see two options, either via Public VIF or an EC2 Proxy instance. What would you recommend?2x DX = 500MbpsData Transfer = 200GB/dailyFollowComment"

Answer: "0Accepted AnswerThe most common approach is to use a Direct Connect Public VIF. Adding the proxy adds a layer of complexity that is not necessary, and will likely negatively impact the backup speeds.I have seen Veritas deployments in the past that leverage Public VIF. It is also the preferred method for several vendors, including Veeam and Commvault.CommentShareAWS-User-1267248answered 3 years ago"


Question: what are some ways/alternative to expose sagemaker endpoints as a HTTP /REST endpoints?

"I am testing out serverless sagemaker endpoints and  was  planning  to integrate it with api gateway directly, but realized there is a 29 seconds timeout limit in api gateway, which might not work if the endpoints take longer than that for inference. is there any workaround for this apart from adding a lambda in-between? I am trying to avoid lambda as it might add to the latencyFollowCommentTed_Z a year agoIf your stack runs API Gw in front of a sagemaker endpoint, whether or not you have a Lambda in the middle or other middleware, you will be governed by the 29 second timeout. What are you trying to do with API Gw in front of your endpoint exactly so we can better work towards a solution for youShareclouduser a year ago@Ted_Z - API Gw is to simplify testing for a client, so that they can call the service with just an api key, without having to share user credentials or setting up a new user.Share"

Answer: "0Here is a blog post about adding a API Gateway in front of a SageMaker endpoint: https://aws.amazon.com/blogs/machine-learning/creating-a-machine-learning-powered-rest-api-with-amazon-api-gateway-mapping-templates-and-amazon-sagemaker/How long does your model take for inference right now? if your model is slower than you expected, you might want to choose a larger instance type or use a GPU instance for models that can use GPU. Take a look at https://github.com/aws-samples/aws-marketplace-machine-learning/blob/master/right_size_your_sagemaker_endpoints/Right-sizing%20your%20Amazon%20SageMaker%20Endpoints.ipynbYou can also consider using async inference. When the API Gateway receives a request, trigger a async inference job and return immediately. Then let the endpoint write the result to a S3 bucket, then notify your user either by SNS -> Email or through a polling API etc.CommentShareS Lyuanswered a year ago"


Question: How to set up a post-startup trigger on RDS Oracle 19c?

"We have an instance running with Oracle Edition-Based Redefinition (EBR). Following an outage, say to apply the quarterly security patches, a post-startup trigger is required in order to execute a PLSQL package automatically.Our code isDROP TRIGGER RDSADMIN.RDS_DDL_TRIGGER2; CREATE OR REPLACE TRIGGER RDSADMIN.RDS_DDL_TRIGGER2 BEFORE DDL ON DATABASE BEGIN         rdsadmin_trigger_util.secure_ddl; END; / SHOW ERRORS;And we're raising the following error:[Error] Compilation (3: 7): ORA-04088: error during execution of trigger 'RDSADMIN.RDS_DDL_TRIGGER2' ORA-00604: error occurred at recursive SQL level 1 ORA-20900: RDS restricted DDL found: CREATE TRIGGER SYS.EDITION_SERV_START ORA-06512: at "RDSADMIN.RDSADMIN_TRIGGER_UTIL", line 756 ORA-06512: at line 2Any insight would be appreciated.FollowComment"

Answer: 0You can try to solve this problem two different ways:Use an AWS CloudFormation custom resource to call an AWS Lambda function to run post-database creation steps on the Amazon RDS for Oracle DB instance right after creation or restoration from a snapshotUse Amazon Elastic Compute Cloud (Amazon EC2) as a temporary instance to connect with the RDS for Oracle database to run post-database creation steps on the RDS for Oracle DB instance right after creation or restoration from a snapshotReference : https://aws.amazon.com/blogs/database/automate-post-database-creation-scripts-or-steps-in-an-amazon-rds-for-oracle-database/CommentShareEXPERTAWS-User-Nitinanswered 7 months ago


Question: How do I get an AWS customer support against poor AWS "premium" support?

"We created many issues on AWS premium supprt, butthe reponse time is super long (more than 2 days)premiums support does not solve your problem, but they create new troubes for you.They doesn't understand your question first but ask a bunch of questions, ask you to collect a bunch of redundant information for them.Finally, you got no answer and forgot your issues as time goes by*Edit: Removed case ID — Roxy M.FollowComment"

Answer: "0Hello,I'm sorry to hear that you've had such a poor experience!While we cannot discuss account specific info on this platform, I've reached out to our Support team to take a look into this for you. Be sure to keep an eye open for further correspondence on your support case.Thanks,— Craig M.CommentShareEXPERTAWS Support - Craiganswered 9 months ago0Extremely disappointed with AWS support. Just to connect with the support team, they made us purchase email support, which other hosting providers offer for free out of courtesy. Even then, not responding to our emails. What have we paid for? Inquiry [50087237497]CommentShareNext Move Strategy Consultinganswered 6 months ago"


Question: Add encryption to a multi-az cluster db snapshot?

"I created an AWS RDS multi-AZ DB cluster and did not enable encryption support.  I attempted to copy the snapshot in order to add encryption support.  However, I received error message "You can't copy a cross-Region Multi-AZ DB cluster snapshot".Is there a simple way to copy a multi-AZ DB cluster snapshot in order to add encryption during the process?FollowComment"

Answer: "0Hello,Thank you for contacting us. From your notes, I understand that you are attempting to enable encryption on a RDS snapshot which is collected from an unencrypted MAZ RDS Instance and during the copy process you are receiving the following error:"You can't copy a cross-Region Multi-AZ DB cluster snapshot"Kindly note that RDS doesn't support restoring unencrypted snapshot directly to an encrypted MAZ cluster. It can only be restored from encrypted instance/cluster snapshot. Due to a limitation we will also not be able to copy an unencrypted RDA MAZ cluster snapshot to an encrypted one unlike RDS instances.Our Team is aware about these and are working towards a fix and this limitation will also be included in the RDS MAZ cluster documentation so as to avoid any further confusion.As of now, the only option available will be to use native DB methods (mysqldump, pgdump etc.) to copy over the data. Alternately, you can also use Database Migration Service for data transfer:[+] What is AWS Database Migration Service? -https://docs.aws.amazon.com/dms/latest/userguide/Welcome.htmlCommentShareSUPPORT ENGINEERMano_Sanswered a year ago"


Question: SageMaker Training Job CloudFormation Issue

"Hi AWS,I have the cloudformation code for AWS SageMaker Training Job which is provided below:TensorFlowTrainingJob:    Type: AWS::SageMaker::TrainingJob    Properties:      TrainingJobName: my-tensorflow-training-job      AlgorithmSpecification:        TrainingImage: <ecr-uri>        TrainingInputMode: File      RoleArn: SageMakerRole.Arn      InputDataConfig:        - ChannelName: train_normal          DataSource:            S3DataSource:              S3DataType: S3Prefix              S3Uri: <s3-uri>        - ChannelName: train_pneumonia          DataSource:            S3DataSource:              S3DataType: S3Prefix              S3Uri: <s3-uri>      OutputDataConfig:        S3OutputPath: <s3-uri>      ResourceConfig:        InstanceCount: 1        InstanceType: ml.m4.xlarge        VolumeSizeInGB: 50      StoppingCondition:        MaxRuntimeInSeconds: 3600      HyperParameters:        epochs: "50"        learning_rate: "0.001"But I am experiencing this issue:[cfn-lint] E3001: Invalid or unsupported Type AWS::SageMaker::TrainingJob for resource TensorFlowTrainingJob in us-east-1The linter version I am using is cfn-lint 0.70.1Can you please suggest what should be the quickfix as I have checked a lot of things on internet but have not found any valid solution for the same.FollowComment"

Answer: "0I don't believe Training jobs are a supported resource in CloudFormation (which is why you're seeing the unsupported type error).This here is the list of supported SageMaker resources - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_SageMaker.htmlIf it is essential for you to create the job through CloudFormation, you could probably create a Lambda custom resource and use the boto3 SDK to create a training job. Reference - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.htmlCommentShareDurga_Sanswered 3 months ago"


Question: Filter by RDS tag

"Hi,I'm working on a script the requires me to filter by a certain tag within RDS.  If I runfor instance in source_instances:    db_instances = "{0}".format(instance['DBInstanceIdentifier'])    response = source.list_tags_for_resource(             ResourceName=instance['DBInstanceArn'])    print (db_instances)    print (response)I'm able to see the tags of each of my RDS instances, including the Environment tag.If I run    for instance in source_instances:        db_instances = "{0}".format(instance['DBInstanceIdentifier'])        response = source.list_tags_for_resource(            ResourceName=instance['DBInstanceArn'],            Filters=[{                'Name': 'Environment',                'Values': [                  'Production', 'production',               ]             }])I get the following errorClientError: An error occurred (InvalidParameterValue) when calling the ListTagsForResource operation: Unrecognized filter name: EnvironmentAny pointers would be appreciated.FollowComment"

Answer: "0hi. after trying this for myself. I got the same result. Went to docs and found this.  Appears the SDK has the 'bones' (errors if providing the wrong Key Names (Name,Values), but not fully implemented.http://boto3.readthedocs.io/en/latest/reference/services/rds.html#RDS.Client.describe_db_instances(dict) --This type is not currently supported.Name (string) -- [REQUIRED]This parameter is not currently supported.Values (list) -- [REQUIRED]This parameter is not currently supported.response = client.list_tags_for_resource(            ResourceName='arn:aws:rds:ap-south-1:XXXX:db:deletemedb',            Filters=[{'Name' : 'Environment', 'Values' : ['Production']}])print(response)<snip>botocore.exceptions.ClientError: An error occurred (InvalidParameterValue) when calling the ListTagsForResource operation: Unrecognized filter name: Environment</snip>HTHEdited by: shallawe on Jul 26, 2017 3:24 AMCommentShareshallaweanswered 6 years ago0Thanks for the help and sanity check.  After a little more digging, other post mentioned getting the ARN of the snapshot and use list_tags_for_resource to find the Taglist.  From there, it could be filtered.There's probably a little bit of a better way to verify the tag but this does work.  Source is the client connection to RDS.#Gets the tags of the snapshot based on the snapshot ARN        tagresponse = source.list_tags_for_resource(ResourceName=source_snap_arn)        print ("Response", tagresponse)        taglist = tagresponse['TagList']                #Looks for the Value Production        for tag in taglist:            print (tag['Key'], tag['Value'])            if tag['Value'] == 'Production':                print ("Found Production Snapshot")CommentShareanxjkanswered 6 years ago"


Question: Applying a web ACL to CloudFront

"When applying a web ACL (Access Control List) to an existing AWS CloudFront distribution, will the web ACL policy be applied to the already cached content?FollowComment"

Answer: "3Yes, the request will be processed by WAF first, so all content will be subject to the WAF WebACL, regardless of whether (or where) it is cached.CommentSharePaul_Lanswered 20 days agoEXPERTkentradreviewed 20 days ago"


Question: Instance stuck in stopping state

"My [Instance status checks] is failing since yesterday and I couldn't access instance to trouble shooting.Either via SSH or SSMThe networking is not a problem since I checked via Reachability Analyzer (IGW to Instance)We also monitoring the instance and Ram or Dish storage is not the issue the last time the instance onlineIs there any way we can access instance for troubleshooting?If it's help, the instance ID is i-0510a4ace1ff4069d and we are in Tokyo RegionFollowComment"

Answer: "0HiI don't think, this is the perfect answer of your issue but this solution works for me.Step1 :- Create an new instance in a same region with same configuration.Step2:- Stop the newly created instance and detach his volumeStep3:- Detach the volume of your old stopped instance and attach it to newly created instance and then start the new instance with old volume attach.If there is any hardware issue in your old instance it will resolve with new instance.CommentShareHimanshu Sharmaanswered 8 months agorePost-User-0296730 8 months agoThank you for your comment. I created AMI from the old instance,And create new instance from AMI but I can't access to the new one either.Do you think it's the same with what you suggested?Share0Do not create AMI of old instance create new instance with fresh OS.Then changed the EBS storage of both instances.CommentShareHimanshu Sharmaanswered 8 months ago"


Question: CloudFront for WordPress Origin same as alternative

I have a website under site.com and I want to leverage CloudFront to improve the performance.Can I specify site.com for both Origin Domain Name and Alternative Domain Name? If not what is the suggestion? Please consider SEO if I need to change the Url.FollowComment

Answer: "1Accepted AnswerYou should use the actual DNS name/names you want for your website on the distribution CNAME settings (make sure you have a proper certificate for them, created on Amazon Certificate Manager for free)The origin should be using a different DNS name, but no one will be able to see it, as all traffic should be fronted by CloudFront.You need to make sure your Origin Request policy does not or does include the Host header, depending on the way the application is built, and the hostnames on which it "listens".CommentShareTzoori Tamamanswered a year agoAWS-User-1399589 a year agoAre you saying I should use something like origin.site.com for Origin Domain Name and site.com for Alternative Domain Name? Do I need to change something in WordPress for this? Is it just for getting the website IP address?ShareTzoori Tamam a year agoDepending on how you configured your website on Wordpress, but actually you can use CloudFront's Origin Request Policies to forward the origin Host header to your application, regardless of which DNS name was used to access it. In this case no changes are required on your WordPress.Share"


Question: Free Tier - EC2 MySQL or RDS MySQL

"Hi,I have created the following setup:a. an EC2 instance such that, I'm getting the "Amazon Linux AMI Test Page" via the Public Host Name of the Instance.b. have configured Route53 to point a test domain to the instance and it is working.I need to create a MySQL Database that is accessible from the PHP files in my EC2 instance.https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=categories%2312monthsfree&awsm.page-all-free-tier=1As per Free Tier Details page, one RDS db.t2.micro database & one EC2 t2.micro instance is allowed.(additionally, in my EC2 dashboard, I also see a volume of 8GB present)It is unclear whether, I can create & use database directly in my EC2 instance, while staying within Free tier restrictions.In order to stay within Free Tier, Should I directly create the Database via SSH in EC2 or should I create a RDS MYSQL DB with Public IP.?Edited by: rohitvedantwar on Jun 16, 2019 10:47 PMEdited by: rohitvedantwar on Jun 16, 2019 10:55 PMEdited by: rohitvedantwar on Jun 16, 2019 10:59 PMFollowComment"

Answer: "0Accepted AnswerAWS doesn't care (or even know) what you run on your EC2 instance, so it is perfectly fine to install MySQL on your EC2 t2.micro and have it stay within the free tier. Of course if doing so requires resources beyond the free tier (e.g., more storage) then you'll be charged for those.BTW, a good place to look for more information about the free tier is https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-free-tier.htmlCommentShareHalTempanswered 4 years ago0Thank-you HalTemp. I'll go ahead and create an EC2 MySQL db.CommentSharerohitvedantwaranswered 4 years ago"


Question: AWS Batch with Amazon EKS

I am trying to use AWS Batch with Amazon EKS but cannot create the Compute Environment through AWS CDK. My current eks cluster is configured with public and private access with many CIDR blocks but not 0.0.0.0/0. Here is the error:12:05:13 PM | CREATE_FAILED        | AWS::Batch::ComputeEnvironment | batchjobtest Resource handler returned message: "EKS cluster must use API server endpoint that has public access and is accessible to the public internet. I don't want to allow 0.0.0.0/0 CIDR block on my EKS cluster. Is there any other way around it?FollowComment

Answer: "0Hello,As mentioned in the prerequisites of documentation[1] and seen in the error, it is necessary for the API server endpoint to be accessible to the public internet (0.0.0.0/0) and unfortunately there is no workaround at the moment.[1] https://docs.aws.amazon.com/batch/latest/userguide/getting-started-eks.html#getting-started-eks-prerequisitesCommentShareSUPPORT ENGINEERNambinayagan_Yanswered 6 months ago"


Question: Does Amazon CloudFront cache HTTP and HTTPS requests as the same object?

"If I have an object xxx.jpg,  and I permit both HTTP and HTTPS request to it, will Amazon CloudFront recognize the two types of requests as the same object to cache? Or, will CloudFront treat the two types of requests as different objects and create two caches?FollowComment"

Answer: "0Accepted AnswerYes, Amazon CloudFront will recognize HTTP and HTTPS requests to the same object as the same object to cache. The two types of protocols aren't part of the default Amazon CloudFront cache key.CommentShareAWS-User-7885373answered 3 years ago"


Question: OpenSearch error "Rejecting request because cold storage is not enabled on the domain"

"Hello all, I have an AWS OpenSearch domain with ultrawarm/cold storage disabled.On the Cloudwath logs, I get the following error:2022-09-21T10:45:08.806-04:00 [2022-09-21T14:45:08,452][WARN ][r.suppressed             ] [51ae3f769ed44b28bc9af2e0ef420e6a] path: __PATH__ params: {page_size=2000} OpenSearchStatusException[Rejecting request because cold storage is not enabled on the domain. Enabling cold storage for the first time can take several hours. Please try again later.] __AMAZON_INTERNAL__ __AMAZON_INTERNAL__ __AMAZON_INTERNAL__ at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:195) at org.opensearch.indexmanagement.rollup.actionfilter.FieldCapsFilter.apply(FieldCapsFilter.kt:120) at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:193) at org.opensearch.performanceanalyzer.action.PerformanceAnalyzerActionFilter.apply(PerformanceAnalyzerActionFilter.java:99) at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:193) at org.opensearch.security.filter.SecurityFilter.apply0(SecurityFilter.java:319) at org.opensearch.security.filter.SecurityFilter.apply(SecurityFilter.java:154) at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:193) at org.opensearch.action.support.TransportAction.execute(TransportAction.java:170) at org.opensearch.action.support.TransportAction.execute(TransportAction.java:98) at org.opensearch.client.node.NodeClient.executeLocally(NodeClient.java:108) at org.opensearch.client.node.NodeClient.doExecute(NodeClient.java:95) at org.opensearch.client.support.AbstractClient.execute(AbstractClient.java:433) at org.opensearch.client.support.AbstractClient$IndicesAdmin.execute(AbstractClient.java:1325) __AMAZON_INTERNAL__ at org.opensearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:128) at org.opensearch.security.filter.SecurityRestFilter$1.handleRequest(SecurityRestFilter.java:128) at org.opensearch.rest.RestController.dispatchRequest(RestController.java:306) at org.opensearch.rest.RestController.tryAllHandlers(RestController.java:392) at org.opensearch.rest.RestController.dispatchRequest(RestController.java:235) __AMAZON_INTERNAL__But, I don't have the Cold storage enabled. Let me know what I'm doing wrong. Any ideas?FollowComment"


Question: Cannot delete S3 bucket - permissions  issue

"Hello, I'm having a problem deleting an S3 bucket (I'm the an admin of the account, without special policy changes)The error i'm getting is :If you have s3:DeleteBucket permissions in your IAM user policy and you cannot delete a bucket, the bucket policy might include a deny statement for s3:DeleteBucket. Before you can delete the bucket, you must delete the deny s3:DeleteBucket statement or delete the bucket policy.Check all  permissions and roles again, nothing.Please advice.  I think it's a bug of some sort.Edited by: alexela on Jun 21, 2021 7:07 AMFollowComment"

Answer: 0Found the solution:https://forums.aws.amazon.com/thread.jspa?threadID=247343CommentSharealexelaanswered 2 years ago


Question: Forbid use of kubectl commands

"So, we need to meet PCI DSS requirements. Some of requirements force use of individual users for changing/modifying anything inside of the environment. Because i was not able to find possibility to do so for running kubectl commands, i want just to forbid any use of kubectl commands, how can i do this?ThanksFollowComment"

Answer: "1Accepted AnswerTo forbid use for certain commands / manage access for users, you should look into RBAC which includes role binding at diff levels ie cluster and namespace levels. Ref: https://kubernetes.io/docs/reference/access-authn-authz/rbac/RBAC should help you with what you require but needs a careful reading :)--SydCommentShareSydanswered a month agoEXPERTToni_Sreviewed a month ago"


Question: What is SLA for Redshift Serverless?

I found SLA for Redshift (clustered) https://aws.amazon.com/redshift/sla/ but I can't find anything related to Serverless.Is it the same as Redshift multi-node? Could you help me with it?FollowComment

Answer: "0Apparently, selecting the serverless option(in the link below) for Amazon Redshift does not come with any special features. so one can conclude only that the service level agreement (SLA) guarantees a monthly uptime of 99.99% and in case of unavailability, Amazon will provide a service credit to the customer.https://aws.amazon.com/legal/service-level-agreements/?aws-sla-cards.sort-by=item.additionalFields.serviceNameLower&aws-sla-cards.sort-order=asc&awsf.tech-category-filter=*all&aws-sla-cards.q=redshift&aws-sla-cards.q_operator=ANDCommentShareAmgadanswered 4 months agosmalinowski 4 months agoDo you claim four nines (99,99%) ? Is it any default uptime for services on mentioned in https://aws.amazon.com/legal/service-level-agreements ?Redshift (clustered) has uptime 99,9% Why serverless has four nines?Share"


Question: By using  ec2 to Eks cluster creation data transfer consumption

I created ec2 server from there by using ec2 terminal i created eks cluster via using eksctl command with eks dependencies can i know much data transfer will be happen for createFollowComment

Answer: "0Hi,can you elaborate more on your question?if the nodes are in different AZs, when your services communicate to each other it will generate data transfer fees.There is few options to track the cost one of them is to use KubeCost or you can use this AWS blog link to analyze itCommentShareMarwaanswered a year ago"


Question: "Glue Crawler getting 403 from S3 because "ciphertext refers to a CMK that doesn't exist." (using SSE-S3, not KMS)"

"I'm getting the following error when I run a Glue Crawler on an S3 bucket:ERROR : Not all read errors will be logged. com.amazonaws.services.s3.model.AmazonS3Exception: The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access. (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied;The S3 bucket has default "Amazon S3-managed keys (SSE-S3)" encryption enabled, not a CMK from KMS.The Glue Crawler has an IAM role with the managed policy AWSGlueServiceRole and a policy that was created by the wizard:{    "Version": "2012-10-17",    "Statement": [        {            "Effect": "Allow",            "Action": [                "s3:GetObject",                "s3:PutObject"            ],            "Resource": [                "arn:aws:s3:::<bucket-name>/*"            ]        }    ]}This previous post also has a 403 and was solved by adding GetObject permissions to the specific bucket, which I already have.I'm also not using a VPC endpoint, which is one of the possible problems listed on this AWS help article. And i do NOT have Requester Pays turned on. It's all in the same AWS account. The default private bucket settings are checked, and there's no bucket policy.FollowComment"

Answer: "1Accepted AnswerIt turns out, the objects in the bucket were encrypted with a specific KMS key, even though the bucket settings were set to use an Amazon S3-managed key (SSE-S3). So the error message was correct.When I exported from HealthLake to S3, it prompted me to create or provide a KMS key to encrypt the output data, so that overrode the bucket-wide encryption settings.Once I updated the KMS key policy to allow the Glue Crawler's Role and I used a single-region instead of a multi-region KMS key, the error went away.CommentShareyann_stonemananswered a year ago0Thank you Yann,The section that states 'updated the KMS key policy to allow the Glue Crawler's Role' is what helped me.I clicked on my KMS Key that I created for moving Healthlake data to S3 and added the IAM role I created for my Glue job (starts with AWSGlueServiceRole) to both 'Key administrators' and 'Key users.'That did the trick!CommentSharerePost-User-7232883answered 4 months ago"


Question: CloudFront with ECS Blue/Green Deployments

"I have a setup with CloudFront as CDN and application on ECS cluster. As we are using ECS Blue/Green deployment, production listener port 443 & test listener port 8443 are being used in ECS service and the same ports are registered as listeners in application load balancer.Route 53 A record has alias to Cloudfront distribution. And the origin is application load balancer and only https traffic on 443 port is allowed in CloudFront distrubution.When request is sent to application on 443 port for example, portal.example.com; it works. But the request is timed out when it is sent on 8443 port for example, portal.example.com:8443. I am able to launch application on both ports using Application Load Balancer's domain name which means there is no restriction on 8443 port at Load Balancer, EC2, VPC, Subnet, Security Group or NACL layers.I thought the issue is due to https port configured on CloudFront distribution and changed it to 8443. Still portal.example.com:8443 doesn't work and getting timed out.I couldn't get why the request is not passing through cloudfront and reaching load balancer on 8443 port. Any suggestions would be appreciated.Note: There is no WAF ACL used in cloudfrontFollowComment"

Answer: "0You cannot specify the port that CloudFront listens on for viewer traffic - it will always be either 80 for HTTP traffic, or 443 for HTTPS traffic. This is configured in your Behavior settings: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.htmlHowever, you can configure a custom origin which listens on 80, 443, or 1024-65535: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.htmlIn your case, rather than trying to connect to CloudFront on port 8443, you could instead create a second CloudFront distribution to use for the non-production/test traffic - eg. test.example.com, and configure a custom origin so that CloudFront accesses your ALB on port 8443.CommentSharePaul_Lanswered 9 months agorePost-User-0289650 9 months agoTried in the way explained above. But still has same problem. test.example.com request redirects to test.example.com:8443 but not reaching ALB.Trace Log for https://testportal.example.com/admin== Info: Clear auth, redirects to port from 443 to 8443== Info: Issue another request to this URL: 'https://testportal..:8443/admin'== Info:   Trying 65.8.72.94:8443...== Info: TCP_NODELAY set== Info: connect to 65.8.72.94 port 8443 failed: Connection timed out== Info:   Trying 65.8.72.27:8443...== Info: TCP_NODELAY set== Info: After 84504ms connect time, move on!== Info: connect to 65.8.72.27 port 8443 failed: Connection timed out== Info:   Trying 65.8.72.23:8443...== Info: TCP_NODELAY setSharePaul_L 9 months agoIt looks like the viewer makes a request on port 443 which is accepted - but then a redirect is returned and the viewer tries to access CloudFront on port 8443 which is not possible. The viewer should always communicate with CloudFront on port 443 - but you can configure CloudFront to communicate with the ALB on 8443. The origin should not return a redirect to the viewerShare"


Question: Does lambda function implement the single instance concurrency model?

"Hi, we're investigating the way to migrate our traditional model backend apps to AWS lambda service.After searching around as well as reading the docs from lambda official website, I can tell that lambda uses a thread-safe, single instance for single request way for the concurrency model, am i right?The question is: For a programming model like nodejs, which leverages event pool to max the ability to process the IO-intense works, can we specify the single instance with multiple requests concurrency model to mitigate the global concurrency limit and cold start problem?  and i think this way could also save cost for saving the IO waiting time.I see there are ways to use reserved/provisioned instances though,I think it could be better to support more fine-grained  concurrency methods.Thanks!FollowComment"

Answer: "3Accepted AnswerAt first, YES, you're right, you should think about your lambda function as "single request = single thread-safe stateless lambda".Such paradigm of thinking force us, engineers, to detach compute from data (state), scale each of it independently, avoid shared state, side effects,  and at the end – reach high level of parallelism avoiding hard-to-debug pitfals of parallel programming.Regarding the second half of your question: the real beauty of the AWS Lambda is that it allows to move away from thinking about low-level concepts as CPUs utilization and IO-waiting time, and focus only only on the "business logic" and what exactly you want to achieve with your code.  (and of course ,internally, AWS Lambda doing quite extensive under-the-hood optimization to avoid wasting of resources)So technically you can, run own event loop inside single lambda call and handle multiple request within each lambda call. However I would call it an anti-pattern and a maybe sign, that you might not need Lambda here at all.I would recommend simply to give it a try, and don't think too much about underneath resources optimization.  Also, if I am not mistaken, the default lambda reserved concurrency is 1000, so should be enough to experiment with high traffic.CommentShareVadymanswered a year agosevenryze a year agoSure, thanks for your quick reply! I'll definitely give it a try and update here when I have more thoughts.Share0Lambda functions run in run-time environments, each instance in its own environment. Each instance can handle a single request at a time. There is no way to route multiple requests to a single instance  at the same time.Saying that, there are event sources that support batching, e.g., SQS, Kinesis Data Streams, etc. For those event sources you could configure the function to be invoked for multiple events and then you can handle them within a single invocation and better utilize the CPU and reduce the cost for IO intensive workloads. If your workload can be asynchronous, consider using this method (e.g., if the request is received from API gateway don't invoke the function directly but rather send it to SQS and then invoke the function using batching.CommentShareEXPERTUrianswered a year ago"


Question: Is it possible to limit a single user to a single connection?

"When a user is connected to an AppStream session in one location (on one computer), then launches a session from another workstation (or browser window), the original connection is still maintained. Compared to Workspaces or Citrix or other solutions, this is unexpected as usually the new connection causes the original one to disconnect.FollowCommentStevieStets EXPERT9 months agoYou're correct that this happens, appreciate you bringing attention to this so we can address it.Share"

Answer: "-2AppStream sessions are not re-used or forcibly taken over should a user log in a second time. A new session is established on a new instance, as you indicated.For a user to change devices/browsers/locations and retain the current session, they would need to disconnect first and reconnect within the specified timeout period (admin-configurable) to connect to the same session and continue.CommentShareAaron Doddanswered 9 months agoalexhoward 9 months agoNope. Sorry, but I’ve replicated this myself. I can connect to the same domain joined session from my Mac laptop in two different browsers and from a Windows Workspace in Virginia at the same time.Share"


Question: [greengrass]How to reuse the deleted core device name to create a core device

"The core device of greengrass is deleted from the console, and the local cannot use the name of the core device again to create a core deviceFollowCommentMichaelDombrowski-AWS EXPERT6 months agoYou can absolutely reuse the same name, just install Greengrass again as you did the first time. Is there a specific error you're having?ShareGavin_A 6 months agoWhat actions are you taking to try and re-create the core device? Is this from the console, CLI/API, or via the install process of Greengrass?Share"


Question: How to delete archive log file on Oracle RDS instance

"We have an Oracle RDS instance that recently ran out of space with ORA-01653 and ORA-01654 (Unable to extend index ... by 8 in tablespace...) errors.On investigation by running query:select nvl(sum(BLOCKS * BLOCK_SIZE),0)/1024/1024/1024 GB from V$ARCHIVED_LOG  where DEST_ID=1 and ARCHIVED='YES' and DELETED='NO';This shows the output:        GB----------26.3267608So we have 26 GB of Archive logs.Running the following query to get some info on the archive files:select * from V$ARCHIVED_LOG  where DEST_ID=1 and ARCHIVED='YES' and DELETED='NO';We have nearly 5000 rows of results.Some example rows: RECID      STAMP NAME                                                           DEST_ID    THREAD#  SEQUENCE# RESETLOGS_CHANGE# RESETLOGS RESETLOGS_ID FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# NEXT_TIME     BLOCKS BLOCK_SIZE CREATOR REGISTR STA ARC APPLIED   DEL S COMPLETIO DIC DIC END BACKUP_COUNT ARCHIVAL_THREAD# ACTIVATION# IS_ COM FAL END_OF_RED BAC------ ---------- ------------------------------------------------------------ --------- ---------- ---------- ----------------- --------- ------------ ------------- --------- ------------ --------- ---------- ---------- ------- ------- --- --- --------- --- - --------- --- --- --- ------------ ---------------- ----------- --- --- --- ---------- --- 56851 1021006860 /rdsdbdata/db/DRGNFLY_A/arch/redolog-56852-1-1002024260.arc          1          1      56852            222206 04-MAR-19   1002024260     108023802 07-OCT-19    108025497 07-OCT-19       1721        512 ARCH    ARCH    NO  YES NO        NO  A 07-OCT-19 NO  NO  NO             0                1  1073401855 NO  NO  NO             NO  56852 1021007166 /rdsdbdata/db/DRGNFLY_A/arch/redolog-56853-1-1002024260.arc          1          1      56853            222206 04-MAR-19   1002024260     108025497 07-OCT-19    108026500 07-OCT-19        626        512 ARCH    ARCH    NO  YES NO        NO  A 07-OCT-19 NO  NO  NO             0                1  1073401855 NO  NO  NO             NO The location of this archive file is: /rdsdbdata/db/DRGNFLY_A/arch/redolog-56849-1-1002024260.arcThe other rows are also in this directory: /rdsdbdata/db/DRGNFLY_A/archFrom:  https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.CommonDBATasks.Log.htmlWe have ran the stored proc:exec rdsadmin.rdsadmin_master_util.drop_archivelog_dir;exec rdsadmin.rdsadmin_master_util.drop_onlinelog_dir;This command executed but when running the query it still shows 23 GB of archive log files.To see the archive log retention config I ran:set serveroutput onexec rdsadmin.rdsadmin_util.show_configuration;This produces the output:NAME:archivelog retention hoursVALUE:0DESCRIPTION:ArchiveLog expiration specifies the duration in hours before archive/redo log files are automatically deleted.NAME:tracefile retentionVALUE:1440DESCRIPTION:tracefile expiration specifies the duration in minutes before tracefiles in bdump are automatically deleted.My questions:Can you let us know how to remove this archive log files and reclaim the space so it can be used for normal DB storage etc.Also how to make sure the log files do not continue to be generated or are cleaned up with an appropriate retention period.FollowComment"

Answer: "0This is a furphy. Archive logs are only kept online until AWS backs them up. Because they are handled in the background, the Oracle archive log table is out of date.If you are on 11.2.0.4v19 or above, you can run this to clean up your archive log table. Basically an rman crosscheck cleanup equivalent.set serveroutput onBEGINrdsadmin.rdsadmin_rman_util.crosscheck_archivelog(p_delete_expired => FALSE,p_rman_to_dbms_output => FALSE);END;/Check the size of your disk in the AWS console and then do a sum on the size of your data files, temp files and redo logs and see the difference.Mine turned out to be massive data growth.Unless your alert log is showing archive log stuck messages.CommentShareSparkleanswered 3 years ago"


Question: No TCP/Internet connectivity

"Instances in one of my accounts do not appear to be able to access the internet. Have run through the VPC wizard in multiple regions attaching gateways etc. as usual and while I can ping external services I'm not able to get any other traffic outbound on any instance in any region.  I have run through the VPC wizard on another account using the exact same options and it works completely fine there. I have also created the same config using Terraform VPC module just in case the wizard itself was the problem but still no luck.I can see in VPC flow logs that the pings are OK but a curl request is getting a REJECT at the last step.Could there be any restrictions at account level?To clarify I've checked on confirmed these are all ok and again, confirmed working in another account with exact config:DNS is enabled at VPC level,gateway etc all in right subnets,ACL clear,instances & gateway have public IPssecurity group any/any outbound,no iptables or anything like that,reachability analyser shows the instances can get back to the internet gateway no problemsroute tables configured correctlyThanksFollowComment"

Answer: 0If ping is ok then its not a problem with your VPC configuration. Probably a rule specifically blocking HTTP. Are there any 3rd party firewalls or proxies that your traffic is going through for this account?FWIW there are no account level traffic filtering functionality as far as VPC networking is concerned.CommentShareinavoidanswered a year ago


Question: Unable to run kubectl & eks commands in a fully private cluster

"I have created a VPC fully private (no direct internet access), let's call it VPC-A. This vpc is peer connected to another VPC, let's call it VPC-B. This VPC-B has internet connection and is being used as a gateway for VPC-A.I have deployed a fully private cluster noly (not any node) in the private subnet of the VPC-A using the guide. The problem is I am not able to run any kubectl and eks command just like mentioned in the guide. After digging a lot on the internet and I found few things to access the cluster. One thing is that I must create a machine in that private VPC and try to access the cluster from there. I also created many issues on github but did not get proper answer. Below are some experts' answersYou can communicate with the K8s API by deploying EC2 instance inside that VPC and defining the EKS K8s API to your kubectl.Well, I have deployed an instance within the vpc of my cluster but whenever I run the kubectl command from the instance inside the private vpc, I get the following error messageUnable to connect to the server: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)Also in the EKS fully private cluster guide it is mentioned thatIf your setup can reach the EKS API server endpoint via its private address, and has outbound internet access (for EKS:DescribeCluster), all eksctl commands should work.Can please someone guide me properly that how can I create such setup?I ran a number of commands to check if anything is wrong with accessing the server address.nmap -p 443 1E9057EC8C316E£D"@JY$J&G%1C94A.gr7.eu-west-*.eks.amazonaws.comStarting Nmap 7.80 ( https://nmap.org ) at 2022-09-09 11:11 UTCNmap scan report for 1E9057EC8C316E£D"@JY$J&G%1C94A.gr7.eu-west-*.eks.amazonaws.com (192.168.*.*)Host is up (0.00031s latency).Other addresses for 1E9057EC8C316E£D"@JY$J&G%1C94A.gr7.eu-west-*.eks.amazonaws.com (not scanned): 192.168.*.*rDNS record for 192.168.*.*: ip-192-168-*-*.eu-west-*.compute.internalPORT    STATE SERVICE443/tcp open  httpsNmap done: 1 IP address (1 host up) scanned in 0.04 secondsAnother command isnslookup 1E9057EC8C316E£D"@JY$J&G%1C94A.gr7.eu-west-*.eks.amazonaws.comServer:         127.0.0.53Address:        127.0.0.53#53Non-authoritative answer:Name:   1E9057EC8C316E£D"@JY$J&G%1C94A.gr7.eu-west-*.eks.amazonaws.comAddress: 192.168.*.*Name:   1E9057EC8C316E£D"@JY$J&G%1C94A.gr7.eu-west-*.eks.amazonaws.comAddress: 192.168.*.*And another istelnet  1E9057EC8C316E£D"@JY$J&G%1C94A.gr7.eu-west-*.eks.amazonaws.com 443Trying 192.168.*.*...Connected to 1E9057EC8C316E£D"@JY$J&G%1C94A.gr7.eu-west-*.eks.amazonaws.comEscape character is '^]'.^CConnection closed by foreign hosIt is clear that I can access the api server endpoints from my machine which is in the same vpc as the api server.But still when I run the kubectl command I am getting this outputUnable to connect to the server: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)When I ran the below commandkubectl cluster-info dumpI got the following error messageUnable to connect to the server: proxyconnect tcp: dial tcp: lookup socks5h on 127.0.0.53:53: server misbehavingThanksFollowComment"

Answer: "1Accepted AnswerThe last error message seems to be referring some kind of proxy setup. In general when your EKS API server endpoint is private access only, you need to ensure that the security group attached to EKS cluster allows your connection from the source machine. You also need to configure the kubectl authentication correctly. If you are using IAM access, then you can use AWS CLI to generate the kubeconfig with following command: aws eks update-kubeconfig --name <cluster name>Make sure you have delegated the RBAC access to the IAM user inside your Bastion host before you removed the public access.More information on how to connect to private only API servers: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html#private-accessCommentShareEXPERTToni_Sanswered 9 months ago"


Question: What path to specify for Apps Working Directory

"I'm using an Image Builder and in step 1 when I try to configure Working Directory for the installed application I cannot specify C:\Users\PhotonUser\My Files\Home Folder because it's not even listed (one cannot type it in either):The stack that will use that Image has Home folders enabled and when the fleet is running the Home folders are present, but I want to configure the default app behavior to use the Home Folder path so users wouldn't need to change it.Doing the same while logged in as Template User won't work because as I understand it the persistent storage (S3) isn't even mounted while creating an Image (Home Folder isn't listed)So my question is: what path to Working Directory am I supposed to provide at this stage to enable default persistent storage path for an app and users?FollowComment"

Answer: "0Accepted AnswerIf you want to enable persistent storage, you must enable Home Folders on the Stack. Your applications can be configured to the default path that includes the Home Folder, however that is not configured through the Imaging wizard - it would be in the applications themselves.CommentShareEXPERTStevieStetsanswered 8 months ago0Not via Image Wizard. Since the user PhotonUser is not available on the Image, you will not able to pick this folder. You may try creating the folder and test it out, but i have not done myself.Other option is write a BAT file to launch the application in the required folder.CommentShareArun_PCanswered 8 months ago"


Question: Routing based on Cloudwatch metrics/alarms

"Can you have Api Gateway or ALB do routing based on Cloudwatch metrics/Alarms?For example, check cloudwatch if a host is down, then route the request to a Lambda function insteadFollowComment"

Answer: "0Why not just use the health check feature already on the ALB to check the host, which would redirect the traffic for you?To answer your question, yes you can use Cloudwatch event with Lambda as target to fulfill your request; I had worked on a scenario, where I used Cloudwatch event to trigger lambda functions - one lambda to deregister then stop EC2 and the other one to start another EC2/register in target group behind the ALB.CommentShareJules_Nanswered a year ago0API Gateway does not support dynamic routing, even not based on CloudWatch. What you can do is invoke a Lambda function that performs the routing logic. Just note that it will require that the function will be running for the duration of the API, which will add you the cost.CommentShareEXPERTUrianswered a year ago0I suggest using the Route53 Health Check feature which can route traffic, e.g. depending on a host check or the state of a CloudWatch Alarm. This way, you don't need to build additional custom-built routing logic.CommentShareSoenke Ruempleranswered a year ago"


Question: Cannot SSH into EC2 Instance

I just resized my instance and now it's not responding to SSH to log into it and the web server is not running.  I'm a little frantic to get this resolved so any help would be greatly appreciated.  I've tried rebooting and stopping and starting the instance but there has been no change.FollowComment

Answer: "1Accepted AnswerThe process changed the EC@ IP address for some reason. I stumbled on the solutionCommentShareChris Thompsonanswered a year agotheist a year agoI've tried rebooting and stopping and startingWhen you stop and start an instance it can change IP, also if the instance has a EIP it can be detached and you need to manually reassociate it.Share0Hi. The troubleshooting information on this page might help: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-change-instance-type.htmlCommentShareMarilynAWSanswered a year ago"


Question: SAM CLI Deployment error creating S3 Bucket

"I'm trying to deploy the hello world app created with Quarkus following the guide (http://quarkus.io/guides/amazon-lambda-http).Everything works fine locally (sam local start-api --template target/sam.jvm.yaml).When I try to deploy to my aws account, I'm getting an error in the console.  The command to deploy is: sam deploy -t target/sam.jvm.yaml -gError: Failed to create managed resources: Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: For expression "Stacks[].StackStatus" we matched expected path: "ROLLBACK_COMPLETE" at least onceLooking at the AWS CloudFormation console, it looks like the S3 bucket is what is erroring out on creation:The step is: SamCliSourceBucketBucketPolicyThe error is: Create FailedError Details:The specified bucket is not valid. (Service: Amazon S3; Status Code: 400; Error Code: InvalidBucketName; Request ID: 0Z7AAGBJ59K08QWV; S3 Extended Request ID: TYpczg8AGNGy+ryR7aLanMhNautgYQ2cQC4OujAskOFZyUzBp/y87pjavD1OEUuw0D/GJdiemzk=; Proxy: null)I've also tried to pre-create the S3 bucket and that didn't work by adding the --s3-bucket flag to the deployment command.Anyone have any ideas on what to do next to deploy the hello world starter app to aws lambda?Thanks,Chris....FollowComment"

Answer: "1Thank you!  That was my issue and upgrading fixed it.  Appreciate your reply and marked the answer as correct.CommentShareChrisHaneanswered 2 years ago0Accepted AnswerFacing the exact same issue with a different sam project. I found this:  https://github.com/aws/aws-sam-cli/issues/3243#issuecomment-915676257If you are on aws-sam-cli 1.30.0, that is most likely the problem.Edited by: TOKelly on Sep 16, 2021 5:01 AMCommentShareTOKellyanswered 2 years ago"


Question: Can a lamda Function handle event type other than JSON?

"I am sending data to IOT Core in the string format , i created a rule to forward it to a lamda function, but can this lamda function process string events and not json? Can i get a code layout?FollowComment"

Answer: "3Accepted AnswerIf the data is not JSON, Lambda will fail.So, base64 encode the data to be passed to Lambda in IoT Core as follows.SELECT encode(*,'base64') as payload FROM '/test/hoge'In Lambda, when an event is received, the code is written so that base64 decoding is performed and the data is restored.CommentShareEXPERTRiku_Kobayashianswered a month ago0The Lambda function will get the event as a JSON format. It may include a string field in it that includes the data from the IoT device.CommentShareEXPERTUrianswered a month ago"


Question: Is there a tutorial or an example of using AWS IoT device client & AWS localproxy with VNC?

Is there a tutorial or an example of using AWS IoT device client & AWS localproxy with VNC? Most of the documentation is surrounding SSH only.  I can't seem to find anything specific to VNC.https://docs.aws.amazon.com/iot/latest/developerguide/tunneling-tutorial-manual-setup.htmlFollowComment

Answer: "0Hi. Using Remmina under Ubuntu, I can connect as shown below. Everything is the same on the device (with Device Client), the same in the IoT console and the same with localproxy on the Ubuntu machine. Just using Remmina in place of ssh pi@localhost -p 5555.CommentShareEXPERTGreg_Banswered 4 months ago"


Question: Cloud Formation - skip creation if resource exists

I'm creating CF template and I would like to use Conditions to check if resource not exists else proceed with next steps. The error that I am getting isResource ApplicationName/application.log already exists.Would the community have an input?Description: CloudWatch log groups used by applicationApplicationLogGroup:Properties:LogGroupName: ApplicationName/application.logRetentionInDays: 545Type: AWS::Logs::LogGroupFollowComment


Question: Can not send sms containing url

I am using sns to send text messages containing an url to my app. But when i am trying to send the text message the following error occurs "Unknown error attempting to reach phone". Does anyone know if it is possible to send such a message?FollowComment

Answer: "0I get the same error message when I send SMS messages with a URL in SNS, and I only got the messages delivered after removing the «https://» prefix.I doubt that this is the solution, but it is my observation so far.CommentShareMidiaranswered 5 months ago"


Question: Unable to Login to my AWS Account as Root User/IAM User.

"Last week I tried to Login to my AWS Account from Management Console where I entered my login credentials and it requested to enter my MFA from my Google Authenticator App. But I got confused with my work ones &totally forgot about the Authenticator App in my device and unexpectedly clicked on Forgottern/Lost MFA Option.So it blocked my sign in to my AWS Account.Actually I have recieved a bill for Stopped State Instance I guess, So I tried to login to my account to check the details of the bill & to terminate the Instance. As it incurred the bill inspite of setting up the budget.Could you please look into this case ASAP.FollowComment"

Answer: "0Re:Post is a community driven support forum, so we can't look at your account.This documentation has some possible ways to recover with a lost/missing MFA.https://docs.aws.amazon.com/signin/latest/userguide/troubleshoot-MFA-issues.htmlNotice the link to support that you can contact get help in this case.https://support.aws.amazon.com/#/contacts/aws-mfa-supportCommentShareRobert Loveanswered 24 days ago"


Question: API to get all the resources that is used in an AWS account

Is there any API call from any resources within AWS that we can use to get all the resources that are used within an AWS account?FollowComment

Answer: "2Hi ThereThere are a few ways to to this:Use Tag EditorUse AWS ConfigUse a third party tool like aws-inventoryCommentShareEXPERTMatt-Banswered 8 months agoRagul 8 months agoAWS config doesn't provide all the resources that the user uses, does it?And for Tag editor, is there any API to fetch them out of the AWS account?Share0Tag Editor is a good option for this @Matt-B mentioned. This helps you to filter resources based on regions and resource types.CommentShareRanjith Rayaprolu - AWSanswered 8 months agoRagul 8 months agoI would like to fetch the resources through an API. Does Tag editor have any such APIs?Share"


Question: Error on Creating new Project

REMOVEDUPLOADError on Creating new ProjectFollow

Answer: "0Accepted AnswerHey @REDACTEDUSERSharerePost-User-5738838answered 5 years ago0Okay. Thank youSharerePost-User-6782222answered 5 years ago0"G:\Lumberyard\1.12.0.1\dev\lmbr_waf.bat" build_win_x64_vs2013_profile --enabled-game-projects=Onwar -p Onwar[WAF] Engine Root: G:\Lumberyard\1.12.0.1\dev\[WAF] Executing 'build_win_x64_vs2013_profile' in 'g:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile'[WARN] Removing target platform win_x64_vs2015 due to "Visual Studio 2015" not checked in Setup Assistant.[WARN] Removing target platform android_armv7_clang due to "Compile For Android" not checked in Setup Assistant.[WARN] Removing target platform android_armv8_clang due to "Compile For Android" not checked in Setup Assistant.[WARN] Game project 'StarterGame' configured in bootstrap.cfg is the enabled game for this build. In order to run or debug for the game 'Onwar', they need to be set in bootstrap.cfg under the 'sys_game_folder' entry accordingly[WARNING] Incredibuild disabled by build option[WARNING] 'libpath' value 'g:\Lumberyard\1.12.0.1\dev\Code\SDKs\LibTomCrypt\lib\ios' defined in TaskGenerator "OnwarIOSLauncher" does not exist[WARNING] 'libpath' value 'g:\Lumberyard\1.12.0.1\dev\Code\SDKs\LibTomMath\lib\ios' defined in TaskGenerator "OnwarIOSLauncher" does not exist[WARNING] 'libpath' value 'g:\Lumberyard\1.12.0.1\dev\Code\SDKs\FreeType2\ios\lib' defined in TaskGenerator "OnwarIOSLauncher" does not exist[ 1/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Core\EBusEventHandler.h[ 2/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Core\Start.h[ 3/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Logic\Gate.h[ 4/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Logic\Indexer.h[ 5/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Logic\IsNull.h[ 6/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Logic\Multiplexer.h[ 7/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Logic\Once.h[ 8/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Logic\Sequencer.h[ 9/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Math\Random.h[10/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Time\Countdown.h[11/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Time\Duration.h[12/74] az_code_gen (win_x64_vs2013|profile): Gems\ScriptCanvas\Code\Include\ScriptCanvas\Libraries\Time\Timer.h[14/74] az_code_gen (win_x64_vs2013|profile): Gems\StartingPointInput\Code\Source\InputNode.h[14/74] az_code_gen (win_x64_vs2013|profile): Gems\StartingPointInput\Code\Source\InputNode.h[ 352/2298] cstlib (win_x64_vs2013|profile): BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\Carrier.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\DefaultHandshake.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\DefaultSimulator.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\DefaultTrafficControl.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\SecureSocketDriver.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\SocketDriver.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\StreamSecureSocketDriver.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\StreamSocketDriver.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\Utils.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Drillers\CarrierDriller.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Drillers\ReplicaDriller.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Drillers\SessionDriller.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\GridMate.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Leaderboard\LeaderboardService.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\DataSet.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Interest\BitmaskInterestHandler.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Interest\BvDynamicTree.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Interest\InterestManager.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Interest\ProximityInterestHandler.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\MigrationSequence.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\RemoteProcedureCall.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Replica.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaChunk.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaChunkDescriptor.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaMgr.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaStatus.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaTarget.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\SystemReplicas.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Tasks\ReplicaMarshalTasks.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Tasks\ReplicaProcessPolicy.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Tasks\ReplicaUpdateTasks.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Serialize\Buffer.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Serialize\CompressionMarshal.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Session\LANSession.cpp.13.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Session\Session.cpp.13.obj -> BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate.lib[ 387/2298] cstlib (win_x64_vs2013|profile): BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\Carrier.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\DefaultHandshake.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\DefaultSimulator.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\DefaultTrafficControl.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\SocketDriver.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\StreamSocketDriver.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Carrier\Utils.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Drillers\CarrierDriller.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Drillers\ReplicaDriller.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Drillers\SessionDriller.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\GridMate.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Leaderboard\LeaderboardService.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\DataSet.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Interest\BitmaskInterestHandler.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Interest\BvDynamicTree.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Interest\InterestManager.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Interest\ProximityInterestHandler.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\MigrationSequence.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\RemoteProcedureCall.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Replica.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaChunk.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaChunkDescriptor.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaMgr.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaStatus.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\ReplicaTarget.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\SystemReplicas.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Tasks\ReplicaMarshalTasks.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Tasks\ReplicaProcessPolicy.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Replica\Tasks\ReplicaUpdateTasks.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Serialize\Buffer.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Serialize\CompressionMarshal.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Session\LANSession.cpp.14.obj BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate\GridMate\Session\Session.cpp.14.obj -> BinTemp\win_x64_vs2013_profile\Code\Framework\GridMateForTools\GridMateForTools.lib[ 389/2298] cstlib (win_x64_vs2013|profile): BinTemp\win_x64_vs2013_profile\Code\CryEngine\CryAction\FlowSystem\AutoFlowNode.cpp.22.obj -> BinTemp\win_x64_vs2013_profile\Code\CryEngine\CryAction\CryAction_AutoFlowNode.lib[ 580/2303] create_rc_file (win_x64_vs2013|profile): BinTemp\win_x64_vs2013_profile\Code\Launcher\WindowsLauncher\OnwarWindowsLauncher_rc\OnwarWindowsLauncher.auto_gen.rc[ 581/2303] cxx (win_x64_vs2013|profile): Code\Launcher\WindowsLauncher\Main.cpp -> BinTemp\win_x64_vs2013_profile\Code\Launcher\WindowsLauncher\Main.cpp.3104.obj[1503/2459] pch_msvc (win_x64_vs2013|profile): Onwar\Gem\Code\Source\Onwar_precompiled.cpp -> BinTemp\win_x64_vs2013_profile\Onwar\Gem\Code\Source\Onwar_precompiled.150.obj BinTemp\win_x64_vs2013_profile\Onwar\Gem\Code\Source\Onwar_precompiled.150.pch[1506/2459] qxx (win_x64_vs2013|profile): Code\Framework\AzQtComponents\AzQtComponents\Components\FilteredSearchWidget.cpp -> BinTemp\win_x64_vs2013_profile\Code\Framework\AzQtComponents\AzQtComponents\Components\FilteredSearchWidget.cpp.6.obj[1506/2459] qxx (win_x64_vs2013|profile): Code\Framework\AzQtComponents\AzQtComponents\Components\StyledDetailsTableView.cpp -> BinTemp\win_x64_vs2013_profile\Code\Framework\AzQtComponents\AzQtComponents\Components\StyledDetailsTableView.cpp.6.obj[1506/2459] cstlib (win_x64_vs2013|profile): BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Application\Application_win.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Application\Application.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Asset\AssetSystemComponentHelper.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Asset\AssetCatalog.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Asset\AssetCatalogComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Asset\AssetProcessorMessages.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Asset\AssetRegistry.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Asset\AssetSystemComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Asset\SimpleAsset.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\CommandLine\CommandLine.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Components\BootstrapReaderComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Components\ConsoleBus.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Components\TransformComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Driller\DrillToFileComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Driller\RemoteDrillerInterface.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Entity\BehaviorEntity.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Entity\EntityContext.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Entity\GameEntityContextComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\FileFunc\FileFunc.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\IO\FileOperations.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\IO\LocalFileIO.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannel.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelAnalog.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelAnalogWithPosition2D.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelAxis1D.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelAxis2D.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelAxis3D.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelDelta.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelDeltaWithSharedPosition2D.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelDigital.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelDigitalWithPosition2D.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelDigitalWithSharedModifierKeyStates.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelDigitalWithSharedPosition2D.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelId.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Channels\InputChannelQuaternion.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Gamepad\InputDeviceGamepad.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Gamepad\InputDeviceGamepad_win.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\InputDevice.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\InputDeviceId.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Keyboard\InputDeviceKeyboard.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Keyboard\InputDeviceKeyboard_win.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Motion\InputDeviceMotion.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Motion\InputDeviceMotion_none.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Mouse\InputDeviceMouse.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Mouse\InputDeviceMouse_win.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Touch\InputDeviceTouch.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\Touch\InputDeviceTouch_none.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\VirtualKeyboard\InputDeviceVirtualKeyboard.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Devices\VirtualKeyboard\InputDeviceVirtualKeyboard_none.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Events\InputChannelEventFilter.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Events\InputChannelEventListener.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Events\InputChannelEventSink.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\Events\InputTextEventListener.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Input\System\InputSystemComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Logging\LogFile.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Logging\LoggingComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Logging\StartupLogSinkReporter.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Math\MathUtils.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\AssetProcessorConnection.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\InterestManagerComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\NetBindable.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\NetBindingComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\NetBindingComponentChunk.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\NetBindingSystemComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\NetBindingSystemImpl.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\NetworkContext.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Network\SocketConnection.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Physics\CollisionFilter.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Physics\Material.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Physics\SystemComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Physics\WorldBody.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Script\ScriptComponent.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Script\ScriptDebugMsgReflection.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Script\ScriptMarshal.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Script\ScriptNetBindings.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\Script\ScriptRemoteDebugging.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\StringFunc\StringFunc.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\TargetManagement\NeighborhoodAPI.cpp.4.obj BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\TargetManagement\TargetManagementComponent.cpp.4.obj -> BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework\AzFramework\AzFramework.libFilteredSearchWidget.cppg:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/FilteredSearchWidget.h(56) : error C2440: 'default argument' : cannot convert from 'initializer-list' to 'QVariant'No constructor could take the source type, or constructor overload resolution was ambiguousg:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/FilteredSearchWidget.h(62) : error C2440: 'default argument' : cannot convert from 'initializer-list' to 'QVariant'No constructor could take the source type, or constructor overload resolution was ambiguousg:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/FilteredSearchWidget.h(62) : fatal error C1903: unable to recover from previous error(s); stopping compilationBuild failed<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>Compilation failed - File: 'FilteredSearchWidget.cpp.6.obj', Module: 'AzQtComponents', Configuration: 'win_x64_vs2013|profile', error code 2Input Files: 'g:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents\Components\FilteredSearchWidget.cpp'Output Files: 'g:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\Code\Framework\AzQtComponents\AzQtComponents\Components\FilteredSearchWidget.cpp.6.obj'Command: 'D:\Programas\Visual Studio 2013\VC\BIN\amd64\CL.exe /nologo /WX /MP /Gy /GF /Gm- /fp:fast /Zc:wchar_t /Zc:forScope /Gd /wd4530 /wd4351 /Ox /Ob2 /Ot /Oi /Oy- /FS /Zo /bigobj /showIncludes /MD /W4 /wd4127 /Z7 /GR- /Ig:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\Code\Framework\AzQtComponents\AzQtComponents /Ig:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents /Ig:\Lumberyard\1.12.0.1\dev\Code\CryEngine\CryCommon /Ig:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\Code\Framework\AzQtComponents /Ig:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents /Ig:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\Code\Framework\AzToolsFramework /Ig:\Lumberyard\1.12.0.1\dev\Code\Framework\AzToolsFramework /Ig:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\Code\Framework\AzFramework /Ig:\Lumberyard\1.12.0.1\dev\Code\Framework\AzFramework /Ig:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\Code\Framework\GridMate /Ig:\Lumberyard\1.12.0.1\dev\Code\Framework\GridMate /Ig:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\Code\Framework\AzCore /Ig:\Lumberyard\1.12.0.1\dev\Code\Framework\AzCore /Ig:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\qt5\AzQtComponents.6 /ID:\Programas\Visual Studio 2013\VC\INCLUDE /ID:\Programas\Visual Studio 2013\VC\ATLMFC\INCLUDE /IC:\Program Files (x86)\Windows Kits\8.1\include\shared /IC:\Program Files (x86)\Windows Kits\8.1\include\um /IC:\Program Files (x86)\Windows Kits\8.1\include\winrt /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include\QtCore /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include\QtCore\5.6.2 /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include\QtCore\5.6.2\QtCore /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include\QtGui /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include\QtGui\5.6.2 /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include\QtWidgets /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include\QtWidgets\5.6.2 /Ig:\Lumberyard\1.12.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2013_64\include\QtWidgets\5.6.2\QtWidgets /Ig:\Lumberyard\1.12.0.1\dev\Code\SDKs\rapidjson\include /Ig:\Lumberyard\1.12.0.1\dev\Code\SDKs\rapidxml /Ig:\Lumberyard\1.12.0.1\dev\Code\SDKs\Lua /Ig:\Lumberyard\1.12.0.1\dev\Code\SDKs\zlib-common\include /Ig:\Lumberyard\1.12.0.1\dev\Code\Tools\SDKs /D_WIN32 /D_WIN64 /DCODE_BASE_FOLDER="g:/Lumberyard/1.12.0.1/dev/Code/" /D_PROFILE /DPROFILE /DNDEBUG /DSCRIPTCANVAS_ERRORS_ENABLED /DQT_QML_DEBUG /DAZ_QT_COMPONENTS_EXPORT_SYMBOLS /D_MT /D_DLL /DBINFOLDER_NAME="Bin64vc120" /DPLATFORM_SUPPORTS_AWS_NATIVE_SDK /DUSE_WINDOWS_DLL_SEMANTICS /DLY_BUILD=532402 /DRESOURCE_COMPILER /DFORCE_STANDARD_ASSERT /DNOT_USE_CRY_MEMORY_MANAGER /D_CRT_SECURE_NO_DEPRECATE=1 /D_CRT_NONSTDC_NO_DEPRECATE=1 /DWIN32 /DWIN64 /DKDAB_MAC_PORT /DAZ_ENABLE_TRACING /DAZ_ENABLE_DEBUG_TOOLS /DQT_CORE_LIB /DQT_GUI_LIB /DQT_WIDGETS_LIB /DEXE_VERSION_INFO_0=1 /DEXE_VERSION_INFO_1=12 /DEXE_VERSION_INFO_2=0 /DEXE_VERSION_INFO_3=1 g:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents\Components\FilteredSearchWidget.cpp /c /Fo g:\Lumberyard\1.12.0.1\dev\BinTemp\win_x64_vs2013_profile\Code\Framework\AzQtComponents\AzQtComponents\Components\FilteredSearchWidget.cpp.6.obj'Output:FilteredSearchWidget.cppg:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/FilteredSearchWidget.h(56) : error C2440: 'default argument' : cannot convert from 'initializer-list' to 'QVariant'No constructor could take the source type, or constructor overload resolution was ambiguousg:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/FilteredSearchWidget.h(62) : error C2440: 'default argument' : cannot convert from 'initializer-list' to 'QVariant'No constructor could take the source type, or constructor overload resolution was ambiguousg:\Lumberyard\1.12.0.1\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/FilteredSearchWidget.h(62) : fatal error C1903: unable to recover from previous error(s); stopping compilation<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>Process failed with return code: 1SharerePost-User-6782222answered 5 years ago0Thank ya much! I've sent this to some of my peers for assistance. Stay tuned :)SharerePost-User-5738838answered 5 years ago0@REDACTEDUSERHave you followed the steps on this page?https://docs.aws.amazon.com/lumberyard/latest/userguide/configurator-projects.htmlSharerePost-User-1190460answered 5 years ago0:D Ty GuysREMOVEDUPLOADSharerePost-User-6782222answered 5 years ago0@REDACTEDUSERI fixed the problem.SharerePost-User-6782222answered 5 years ago0@REDACTEDUSERunchecking the options ''Compile the engine and asset pipeline'' and ''Compile the Lumberyard Editor and tools''SharerePost-User-6782222answered 5 years ago0Yes @REDACTEDUSERSharerePost-User-6782222answered 5 years ago0@REDACTEDUSERWhat step worked for you? How did you solve the issue?SharerePost-User-1190460answered 5 years ago0@REDACTEDUSERYou can leave those options checked, but then you have to use one of the build commands for your version of VS:lmbr_waf.bat build_win_x64_vs2013_profile -p alllmbr_waf.bat build_win_x64_vs2015_profile -p allSharerePost-User-1190460answered 5 years ago0@VitorSantos2Atwhat point in the process are you getting this error. Can you describeyour steps for me? For example, something like this would be helpful:I opened ProjectConfigurator.exeClicked on Create newNamed projectChose Default or Empty ProjectMore informationMore InformationThe more details the better, thanks.SharerePost-User-1190460answered 5 years ago"


Question: Fail to start an EC2 task on ECS

"Hi there i am trying to start a task which uses gpu on my instance. EC2 is already added to a clusterbut it failed to start,here is the error:status: STOPPED (CannotStartContainerError: Error response from dae)DetailsStatus reasonCannotStartContainerError: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderrNetwork bindings - not configuredec2: setupType: AWS::EC2::Instance    Properties:       IamInstanceProfile: !Ref InstanceProfile      ImageId: ami-0d5564ca7e0b414a9      InstanceType: g4dn.xlarge      KeyName: tmp-key      SubnetId: !Ref PrivateSubnetOne      SecurityGroupIds:        - !Ref ContainerSecurityGroup      UserData:         Fn::Base64:          !Sub |          #!/bin/bash          echo ECS_CLUSTER=traffic-data-cluster >> /etc/ecs/ecs.config          echo ECS_ENABLED_GPU_SUPPORT=true >> /etc/ecs/ecs.configDockerfileFROM nvidia/cuda:11.6.0-base-ubuntu20.04ENV NVIDIA_VISIBLE_DEVICES allENV NVIDIA_DRIVER_CAPABILITIES compute,utility# RUN nvidia-smiRUN echo 'install pip packages'RUN apt-get updateRUN apt-get install python3.8 -yRUN apt-get install python3-pip -yRUN ln -s /usr/bin/python3 /usr/bin/pythonRUN pip3 --versionRUN python --versionWORKDIR /COPY deployment/video-blurring/requirements.txt /requirements.txtRUN pip3 install --upgrade pipRUN pip3 install --user -r /requirements.txt## Set up the requisite environment variables that will be passed during the build stageARG SERVER_IDARG SERVERLESS_STAGEARG SERVERLESS_REGIONENV SERVER_ID=$SERVER_IDENV SERVERLESS_STAGE=$SERVERLESS_STAGEENV SERVERLESS_REGION=$SERVERLESS_REGIONCOPY config/env-vars .## Sets up the entry point for running the bashrc which contains environment variable and## trigger the python task handlerCOPY script/*.sh /RUN ["chmod", "+x", "./initialise_task.sh"]## Copy the code to /var/runtime - following the AWS lambda convention## Use ADD to preserve the underlying directory structureADD src /var/runtime/ENTRYPOINT ./initialise_task.shFollowCommentclogwog 8 months agodid you figure out how to get around this ? (i'm finding the same issue, also using nvidia gpu )Share"

Answer: 0adding the following environment variable to be passed into the docker in my "environment variables configuration" ECS fixed it:NVIDIA_DISABLE_REQUIRE=1Hope it works for you as well.CommentShareclogwoganswered 8 months ago


Question: Possible to Integrate Monitron Sensors into Lookout for Equipment

"I have a customer that has a large amount of manufacturing equipment.  Some of it is available to send inference data and sensor data to lookout, but a large amount of the legacy equipment is either not connected to the network or is on a closed loop, so the data cannot be transmitted.  The solution for the legacy equipment would be Monitron sensors, however what I can't figure out is are Monitron sensors able to integrate with Lookout for Equipment, or are they a wholly closed ecosystem that only operates within the Monitron App?   Obviously the ability to add sensors to legacy equipment that aren't capable of transmitting their own data would be invaluable, so it would surprise me if Amazon had a smart sensor for equipment that wasn't capable of integrating with it's equipment monitoring dashboard.FollowComment"

Answer: "0Hello,Thank you for using AWS Monitron.It is possible to Integrate Monitron Sensors into Lookout for Equipment. You can export monitron data using Kinesis and stick with process data before using with Lookout for Equipment. Please note, vibration data is an instantaneous measurement and is collected once per hr.  For accurate inferencing of process and vibration data, the measurements need to be taken at the same time. If not, there is a higher chance of false positives.Reference:[1] Amazon Monitron Kinesis data export - https://docs.aws.amazon.com/Monitron/latest/admin-guide/monitron-kinesis-export.htmlCommentShareSUPPORT ENGINEERKartik_Ranswered 5 months ago"