Question: Access to AWS Opensearch in a VPC

"Hi,I created an AWS Opensearch domain in a VPC, but I can't figure out how to access it? When I am clicking on AWS Opensearch dashboard it's not opening and there is a timeout. I fould 2 solutions: EC2 instance with SSH tunnel or NGINX proxy on EC2 instance.But can I access the domain in a VPC without spinning the EC2 instance at all?FollowCommentrePost-User-5669095 2 months agoKibana dashboard is accessible via nginx proxy. How do we push data from an app directly to the ES ? I couldn't sign the http request with AWS credentials nor with EC2 instance profile of the nginx server. Still times out as it is in a VPC. Second - Do we need to do VPC peering with the EKS cluster, if the app runs in EKS kubernetes cluster in order to push data to ES, which is in it's own VPC ?Share"

Answer: "2Accepted AnswerHi,These are the 3 options available to access AWS Opensearch in a VPCUse an SSH tunnelUse an NGINX proxyUse VPNReferCommentShareEXPERTTushar_Janswered a year agoEXPERTFabrizio@AWSreviewed a year agoFabrizio@AWS EXPERTa year agoplease see the Knowledge Center article https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-dashboards-vpc-cognito/Sharemyronix88 a year agoThank you!Share1Hi,Do you connect to the VPC with a VPN or is it open to the world. If you dont use a VPN then:Has it been launched into a public subnet with an IGW and if so is the SG open to the outside world on the required ports?The solutions you provide suggest that the VPC is not publicly accessible or that it is going through a NAT Gateway.More detail on your VPC setup is required thanks!CommentShareturbocrowanswered a year agomyronix88 a year agoHi, Thank you for your answer. I am using VPC, and if I understand I can use a VPN or EC2 instance to connect to VPN. So in this case I will use just public access. Thank you.ShareFabrizio@AWS EXPERTa year agoPlease review the documentation section: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.htmlonce you launched OpenSearch in a VPC you cannot switch to a public domain.please see, also, the Knowledge Center article https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-dashboards-vpc-cognito/Share"


Question: Transit Gateway Routes

I remember there was a limitation with TGW where routes from VPCs would propagate to the TGW but the TGW couldn't propagate them to any other VPCs attached to it. Is this still the case?FollowComment

Answer: "2That is correct, currently you can propagate a VPC attachment into a TGW route table but you can not propagate TGW routes into VPC route table, you'll need to add Static routes in VPC route table pointing towards the TGW.On the other hand (Just as an FYI) if you are using VGW (Virtual Private Gateway) you can propagate VGW VPN routes into a VPC route table.CommentShareEXPERTTushar_Janswered 7 months ago0What is their reasoning for this? Traditional routing on a physical network could achieve this and then use Prefix-lists to filter what you want redistributed. Depending on how many VPCs are attached to your TGW this could be alot of work.CommentSharestevenjwilliams0728answered 7 months agoTushar_J EXPERT7 months agoThis is just a current limitation; It is likely there is already a feature request for this. If you have an Account manager you can request to add your influence. I would suggest to keep an eye on https://aws.amazon.com/about-aws/whats-new, then filter by 'Networking and Content Delivery' and choose 'Transit Gateway', also check the Networking Blog page for any new feature announcements.Share0It is currently a limitation provided and may have to do static entries. VPCs, VPN/Direct Connect connections can dynamically propagate routes to the Transit Gateway route table. You can enable or disable route propagation for each Transit Gateway attachment. For a VPC attachment, the CIDR blocks of the VPC are propagated to the Transit Gateway route table. For a VPN/Direct Connect connection attachment, routes in the Transit Gateway route table propagate to your on-premises router/firewall using Border Gateway Protocol (BGP). The prefixes advertised over BGP session from on-premises router/firewall are propagated to the Transit gateway route table.CommentShareEXPERTAWS-User-Nitinanswered 7 months ago"


Question: Unable to create SSH tunnel to EC2 instance

"Hello, I'm trying to transfer files from my local machine to my EC2 instance, AWS recommends that I create a SSH tunnel to do so, I have been trying for the past 2 days and I'm still getting errors with this, please help.FollowComment"

Answer: "0Hi,Try below ssh -N -L SOURCE-PORT:127.0.0.1:DESTINATION-PORT -i KEYFILE xyz@SERVER-IPIf successful, the above command will create an SSH tunnel but will not display any output on the server console.CommentShareShashank Abhishekanswered 5 months agoNestdot 5 months agoWhere do I get source-port and destination-port from? Also, how do I make it detect my keyfile? (Since when I SSH initially into my instance I did cd Downloads in my command interface, since that's where I have my keyfile stored)Share0Stop Source / destination check in the instance use to jump.CommentSharepinguinouyanswered 5 months agoNestdot 5 months agoWhat do you mean? Could you explain in more detail pleaseShare0On EC2 Panel, select instance -> action -> networking -> Change Source / destination checkCommentSharepinguinouyanswered 5 months agoNestdot 5 months agoI click it and nothing happensShare0If you run tcpdump inside jump instance , can you see traffic? Check conectiviti from your jump to destination instance (security groups)enable ip forward on the jump instance - echo 1 > /proc/sys/net/ipv4/ip_forwardCommentSharepinguinouyanswered 4 months agoNestdot 4 months agoHow do I run tcpdump inside jump instance? How do I do the other thing you said?Share"


Question: ACM Certificate Verification Required

"Hi,We just attempted to provision some ACM certs, and now that our site is in the top 1000 Alexa ranked sites it seems we require verification.This is for the domain discogs.com.Please let us know what we need to do to validate our domain in ACM!Thanks!FollowComment"

Answer: "0Hello,I can confirm that the discogs.com domain ranks #878. To be able to issue a certificate with this domain you will need to raise a case with AWS Support and ask that the domain in question be allow listed.I hope this helps.CommentShareNicholas Doropoulosanswered a year ago"


Question: Amazon Chat widget access error - 403 explicit deny

"Hello,We implemented Amazon Connect built-in Chat widget (security enabled) in one AWS account, everything works fine including serving JWT tokens, passing contact attributes etc.We are now trying to implement similar configuration in a new account (new Connect instance). The Web Chat widget is giving us this error:{"code": 403, "msg": "User is not authorized to access this resource with an explicit deny"}This error looks like coming from an API gateway to serve the widget frame code (once we click on the chat icon), but we have no control over the user or IAM policies as we are not using API directly and the built-in widget is making these calls. Not sure where to look, as we checked and rechecked everything (CORS domain settings, Snippet ID, Chat Widget etc.). The widget works fine once we turn-off security.Any ideas? Thanks much.FollowComment"

Answer: "1Accepted AnswerSolved, the issue has to do with the URL for chat javascript file. We used the same URL in two different connect instance widgets.CommentShareTalkFirstanswered a month ago"


Question: C++ Hot Reload Gem is ready!

"I just want to let you know you have the C++ Hot Reload Gem ready to drop in the Gems folder and activate it. Will auto-configure itself! tested on 1.22 and 1.23 :)To thank the community and Lumberyard developers I publish it for free on GitHub so it's available for testing, evaluation or non-commercial purpose projects.https://github.com/CppHotReload/LumberyardAll the feedback it's appreciated, I hope it helps you with your projects 👍Follow"

Answer: "0Looks promising!However, once I add the Hot Reload gem to my project, the lumberyard editor will shut down after processing all assets. No error popups (probably some log somewhere I don't know off yet).When I disable the Hot Reload gem, the editor behaves as expected (meaning I can open my project etc.)I'll fiddle around a bit and post any findings, if any.Edit: I'm running Ly 1.23SharerePost-User-5513347answered 3 years ago0what is hot reload what does it do?SharerePost-User-6701439answered 3 years ago0Hey Never, thanks to try C++ Hot Reload. Please paste on Gist the debug log of Visual Studio. Debug log, not the build log.You might need change the build configuration to match your project. Do you use incredibuild?ThanksSharerePost-User-8749857answered 3 years ago0Basically:Calculate dependents and dependencies of your filesWhen you save a file the Gem detects a changeGenerates a mapping of your variables to transfer to the new versionWraps your modified files into a micro-dllCreates a new pointer of your class (component)Returns and restore that pointer for every instance you have in the gameReloads and restore pointers only of your modified components.SharerePost-User-8749857answered 3 years ago0Hi Prompt,I've built the project as described here:https://docs.aws.amazon.com/lumberyard/latest/userguide/building-your-lumberyard-game-project.htmlBuilding seems to succeed, booting up the project seems to go fine, until it's supposed to start the project. Here's a gif with me scrolling through the build log and booting the editor:REMOVEDUPLOADSharerePost-User-5513347answered 3 years ago0That's the build log, not the Debug log.This is what I don't need, the Build log:REMOVEDUPLOADThis is what I need :slight_smile:REMOVEDUPLOADBtw: in the right bottom corner of Windows REMOVEDUPLOAD  You have the asset processor running, in the StarterGame takes forever to process all assets the first time. Might be your issue?When the Editor opens you should see:REMOVEDUPLOADThanks a lot for your feedback and Images @REDACTEDUSERSharerePost-User-8749857answered 3 years ago0Hi Prompt,I'm not entirely sure how to get the Debug output (it doesn't give me that option, probably have to run a debug but I guess that's only possible when running the editor).However, when building my project via VS with the Hot Reload gem enabled, I'm getting this error:REMOVEDUPLOADAnd this is my folder structure:REMOVEDUPLOADREMOVEDUPLOADHope it helps!SharerePost-User-5513347answered 3 years ago0Can you confirm you have this file: REMOVEDUPLOADSharerePost-User-8749857answered 3 years ago0I can, it's there. Just noticed the cpp hot reload files are not visible in the solution explorer, even though the stdafx.h is in fact included in the project. I'll try to add manually and see what happens.SharerePost-User-5513347answered 3 years ago0I think I can help you in a more agile way in the Discord channel: https://discord.gg/9gsaNnDLater we can post here the solution.Best.SharerePost-User-8749857answered 3 years ago0Hi Prompt,Thanks for the support. But I think I'm putting Lumberyard on hold now as it seems like I need to invest a LOT of time in getting things to work as expected. Time I cannot afford right now. And I'm not talking about your HotReload plugin.Thanks again for your support, I'll be back :slight_smile:SharerePost-User-5513347answered 3 years ago0Does this only allow for hot reload for variable value changes and things of that sort? Or is it more involved than that? I won't really be needing to use c++ in my planned projects so that's not why I'm asking but if the ability to change c++ on the fly is more involved then it may be possible to hook up a layer between Script Canvas and this hot reloading of C++ to make script canvas have better performance. This is all just speculation on my part but just throwing that in the mix to see what more knowledgeable people think.SharerePost-User-9359627answered 3 years ago0Hi there, you can change the whole class structure, layout and signature, etc, everything. Is not based on vtable replacement nor binary patching (function offsets and pointers).I made even a prototype having visual scripting writing C++ on files for max performance, Script Canvas as you said is based on LUA with hooks in C++, if those hooks are based on components you'll be able to fully reload that. My knowledge on Script Canvas in Ly is very low, however let me know what you do and I can adapt the plugin.I guess if you reload C++ you'll need to reload at the same time the Script Canvas so those C++ hooks get updated.SharerePost-User-8749857answered 3 years ago0[quote="Nevey, post:2, topic:8098, full:true"]Looks promising!However, once I add the Hot Reload gem to my project, the lumberyard editor will shut down after processing all assets. No error popups (probably some log somewhere I don’t know off yet).When I disable the Hot Reload gem, the editor behaves as expected (meaning I can open my project etc.)I’ll fiddle around a bit and post any findings, if any.Edit: I’m running Ly 1.23[/quote]@REDACTEDUSERSharerePost-User-7328120answered 3 years ago0You need to help me to help you. C++ Hot Reload Gem has now "abort()" calls if something is not properly configured or doesn't fit with your project. That's done to hunt down problems or misconfiguration.So please run it from Visual Studio and pass me the debug log, not the build log (images before). That will give me the information I need. If you can join the Discord channel I'll be able to support you super fast: https://discord.gg/9gsaNnDSharerePost-User-8749857answered 3 years ago0Hi,This tool sounds great! I would like to see it in action. Maybe I can help you to show where the problem is, as I see:When you create a new project in Lumberlyard 1.23 it don't have a precompiled header. So the .pch file for this project is not generated at all and CppHotReload fires abort in CppHotReloadConfig.cpp at 345 line: if (foundPch.empty()) abort() - that's why a new project don't start.Also the project code is not stored in /dev/Code/PROJECT_NAME/ folder (but it is in /dev/PROJECT_NAME/Gem/Code/). As I see generated object for it are stored in /dev/BinTemp/LUMBERYARD_BIN_CONFIG_DIR/PROJECT_NAME/Gem/Code/ (/Source as project structure etc.) folder.The StarterGame is an exception. It contains precompiled header, store code in /dev/Code/PROJECT_NAME/Game folder It have .pch file in dev\BinTemp\win_x64_vs2017_debug\Code\StarterGame\Game folder. So it's look's like good candidate for test CppHotReload tool. So I added a CppHotReload gem to it. Configure and recompile project. I sucessfully started Editor with the following logs:(C++ Hot Reload) - sys_game_folder=StarterGame, crc: 4136858(C++ Hot Reload) - Reading include file...(C++ Hot Reload) - Applying environment macros...[Error] (C++ Hot Reload) - Timeout: connect timed out: [2001:41d0:302:2100::2ac2]:80[Error] (C++ Hot Reload) - Your C++ Hot Reload license cannot be validated, please contact to: contact@hotreload.tech[Error] (C++ Hot Reload) - Something went wrong initializing C++ HotReload!and after load a level I get such exception in CppHotReloadGem.cpp file at 97 line: if (!CppHotReload::IsWorking()) : Assertion failed! … Expression: cppHotReload && "C++ Hot Reload not initialized!"Program: ....23.0.0\dev\Bin64vc141.Debug\HotReload_x64_mdd.dllFile: ..\..\..\Code\HotReload\HotReloadAPI.cppLine: 2624and in some case in line 221:const AZStd::string& guid = CppHotReload::RegisterPtr(typeName.c_str(), reinterpret_cast<void*>(currComponent));exception: 0x00007FF8AB9C46F0 (HotReload_x64_md.dll)I hope this will help to fix it because I really want to see it in action :)ps. PROJECT_NAME is not variable/constant, I just use it for any project folder.SharerePost-User-4780527answered 3 years ago0Ok so I'll try with a project without PCH.The error you see about the license is because either has no connection or couldn't connect with the license server (which will return a full license activation).I validate every day that works, also from UE4 clients. Do you have anything blocked like when you start the Ly Editor? Always appear if you allow the Editor to connect to internet.Thanks for the testing! Remember to join Discord.SharerePost-User-8749857answered 3 years ago0That's sounds good. I will wait for solution.I cannot connect with server even with windows defender / firewall / antyvir disabled. Could you provide the server IP with port address so I will be able to test if I have communication with it ? If will be easier I can try to contact you at Discord.Thanks!SharerePost-User-4780527answered 3 years ago0I removed the ipv6 config from the license server. Should work now for everyone!SharerePost-User-8749857answered 3 years ago0@REDACTEDUSERREMOVEDUPLOADThank you very much !SharerePost-User-4780527answered 3 years ago0Hi @REDACTEDUSERIs It possible [Suggestion] Auto Compile Gems by Launcher  [All Gems or select gems] in future ❓ ❔Thank you 🙏 🌹SharerePost-User-8224505answered 3 years ago0Hey there!In UE4 Marketplace is the case. Amazon Lumberyard doesn’t offer that option I’m afraid. Not sure if I can do something for that from the plugin side🤔SharerePost-User-8749857answered 3 years ago"


Question: "My EC2 instance that I used for years suddenly disappeared, can you help me restore it?"

"My EC2 instance information:DNS: https://jktiger.com/Dao/My hole data was gone, please help to check where is my instance?FollowComment"

Answer: "0Please raise a support ticket for this issue. In this forum we don't have access to your account information, identity or any AWS resources that you're running but the support team does and can help you determine what has happened.CommentShareEXPERTBrettski-AWSanswered a year ago"


Question: CDK - Connect a Network Load Balancer and a Neptune Cluster Endpoint together

"For the past two days I've been struggling with exposing a Neptune endpoint to the public using an NLB in a single stack. The architecture was inspired by this document.For the life of me I haven't been able to figure out how to obtain the IP address of the Neptune endpoint to use as the target of NLB's listener. The main issue resides in the conversion of the Neptune hostname to an IP address as required by NLB's target group IPTarget and how CDK synthesizes stacks before deployment.I explored the use of CustomResources to no avail due to my limited familiarity with the topic (day 5 of my aws journey), and was hoping someone could point me in the right direction.Here's my stack (CDK app repo here):import { Construct } from "constructs";import { Stack } from "aws-cdk-lib";import * as ec2 from "aws-cdk-lib/aws-ec2";import * as elbv2 from "aws-cdk-lib/aws-elasticloadbalancingv2";import * as neptune from "@aws-cdk/aws-neptune-alpha";import { Props } from "../../_config";import createVPC from "../helpers/createVPC";import createNeptuneCluster from "../helpers/createNeptuneCluster";import createNLB from "../helpers/createNLB";export class ABCGraphStack extends Stack {  public readonly vpc: ec2.Vpc;  public readonly subnets: {    public: ec2.ISubnet[];    private: ec2.ISubnet[];    isolated: ec2.ISubnet[];  };    public readonly neptuneCluster: neptune.DatabaseCluster;  public readonly neptuneReadEndpoint: neptune.Endpoint;  public readonly neptuneWriteEndpoint: neptune.Endpoint;  public readonly nlb: elbv2.NetworkLoadBalancer;  constructor(scope: Construct, id: string, props: Props) {    super(scope, id, props);    // Create VPC for use with Neptune    const { vpc, subnets } = createVPC(props, this);    this.vpc = vpc;    this.subnets = subnets;    // Create Neptune Cluster    this.neptuneCluster = createNeptuneCluster(      props,      this,      this.vpc,      this.subnets    );    // Update Neptune Security Group to allow-all-in    this.neptuneCluster.connections.allowDefaultPortFromAnyIpv4(      "Allow All Inbound to Neptune"    );    // Add an ordering dependency on VPC.    this.neptuneCluster.node.addDependency(this.vpc);    // Output the Neptune read/write addresses    this.neptuneReadEndpoint = this.neptuneCluster.clusterReadEndpoint;    this.neptuneWriteEndpoint = this.neptuneCluster.clusterEndpoint;   // HOW TO GET IP ADDRESS OF this.neptuneWriteEndpoint.hostname?    // Create Network Load Balancer    this.nlb = createNLB(props, this, this.vpc, "????????", 8182);    this.nlb.node.addDependency(this.neptuneCluster);  }}FollowComment"

Answer: "0You would need to build a workflow similar to what is documented here:  https://aws.amazon.com/blogs/networking-and-content-delivery/using-aws-lambda-to-enable-static-ip-addresses-for-application-load-balancers/But instead of using this for an ALB->NLB proxy, you would use the Lambda workflow to update the IP address in the Target Group for the NLB.  The Lambda would need to be triggered using an EventBridge Event at regular intervals to check for if the IP address associated with a Neptune endpoint ever changed.CommentShareTaylor-AWSanswered 10 months ago"


Question: Instance launch failed

Instance launch failedThis account is currently blocked and not recognized as a valid account. Please contact aws-verification@amazon.com if you have questions.**Initializing requestsSucceededCreating security groupsSucceededCreating security group rulesSucceededLaunch initiationFailed**FollowComment

Answer: "-1It may be you're launching in a region you haven't launched in before - apparently new accounts may be restricted to 3 regions and you can get this error if you try to use a 4th.Either way, please contact them on that email address as suggested or use AWS Support from your console (or https://support.aws.amazon.com/#/contacts/aws-account-support/) - even with Basic support you can raise an Account case like this.CommentShareEXPERTskinsmananswered 2 months agoSaruf Ratul 2 months agoThank you for my question replay but you can see my given picture shows US East (N. Virginia) region also I am trying the other 2 regions US West (Oregon) and US East (Ohio) show the same ERROR.Shareskinsman EXPERT2 months agoWhat do you mean "question replay"?  How would I know from your question you haven't already launched EC2 instances in 3 other regions - you know there are over 30 regions, right?  Why down-vote someone with a valid suggestion, and who is just trying to help you?Share"


Question: Trouble in node.js sending data from html form to the server.

"I have a question about AWS Cloud9 and nodejs.I am using this nodejs tutorial to teach myself how to communicate between client side and server side:https://dev.to/gbudjeakp/how-to-connect-your-client-side-to-your-server-side-using-node-and-express-2i71I followed the tutorial and set it up on my laptop and everything worked fine. I even was able to figure out how to write the data sent from the client to a file using writeFileSync.The problem is in trying to get it to work while on the Amazon Web Service Cloud9 integrated development environment.When I run the index.js file by itself on Cloud9, I get the message stating that the server is running on port 8080, as expected.However, I cannot get the HTML file to interface with the index.js file. The HTML file contains a form that is supposed to send the form content to index.js.I believe the problem is in the address contained in the HTML form. I have researched and tried several different configurations, but none of them work. Currently, the form looks like this:<form action="https://localhost:8080/login" method="POST">        <input type="text" name="username" placeholder="username">        <input type="text" name="password" placeholder="password">        <button type="submit">Login</button>    </form>Using localhost:8080 results in an error message of "localhost refused to connect."When I have used variations of my username and AWS project name, I receive an error stating that the server IP address could not be found.Any help would be appreciated.FollowComment"

Answer: "1Please refer to the documentation.You are trying to go to an address that contains an IP of 127.0.0.1, localhost, or 0.0.0.0. The default, built-in behavior of the AWS Cloud9 IDE is that this will attempt to go to your local computer instead of attempting to go the instance or your own server that is connected to the environment.So in your case, the HTML file you open in the Cloud9 IDE tries to connect to localhost which is then translated to your local machine, not the EC2 instance your Cloud9 environment (and your NodeJS server) runs on.Instead, consider changing the target host in your HTML file.Start your NodeJS server in the terminal as described in your tutorialIn Cloud9, go to Tools --> Preview --> Preview Running ApplicationA new IDE tab will open, where you can see the output like "Welcome to your server"In that new preview tab, click on the address bar and copy the URL you'll find there, it will be something like https://12a34567b8cd9012345ef67abcd890e1.vfs.cloud9.us-west-1.amazonaws.com (with a different ID and probably a different region)Replace localhost in the HTML file with the host name from aboveSave your HTML file and try to test your app againAlternatively, just make the action in your HTML form to a relative URL:<form action="/login" method="POST">Cloud9 will automatically forward the requests to your running application on ports 8080, 8081, or 8082. See the documentation for details.CommentShareDmitry Balabanovanswered a year ago"


Question: How to configure VPC connection for QuickSight x ActiveDirectory x Redshift?

"Hi,I've already created a QuickSight account  with a VPC connection setting to Redshift and got connected successfully.I removed the QuickSight account and re-created an account with Managed Microsoft Active Directory authentication method. Then I cannot connect to Redshift when creating a data soure with a timeout error.The VPC setting is the same as when without Active Directory.the same subnet idthe same security group idDNS resolver is blankHow should I change the VPN setting or anything to get successfully connected with Redshift?Thanks,FollowCommentFabrizio@AWS EXPERT7 months agoHello, do you mean VPC configuration ?in the question there is a mix of references to VPN and VPC , I guess it should all refer to VPC but if you could clarify it would be helpful.Another question is : do you have Active Directory integration with Redshift as well or are you using Redshift internal users?Thank youShareMichihiro Ota 7 months agoHi Flag, Thanks for your reaction.VPC configration! I fixed my mistakes in the question.I use Redshift without Active Directory, with just Redshift users, which is actually an admin only...In other words, I want to configure the env like below.Active Dicrectory(in VPC) <-a-> Quick Sight <-b-> Redshift(in VPC)a: Login QuickSight with AD users.b: Login Redshift with a static admin user.I think we need a VPC configuration in b.Without Active Directory, I set configuration of b and there's no problem. But with AD, the same configuration doesn't work and no info to fix it...Thank you,MichihiroShare"

Answer: 0Accepted AnswerYou needConfigure DNS servers of AD to be able to resolve AmazonProvidedDNSSet the DNS servers as DNS resolvers when you create VPC configuration of QuickSightCommentShareMichihiro Otaanswered 7 months ago


Question: Is DMS compatible with Heroku Redis as a target?

In the documentation it says it can work with on-prem redis but I was wondering if anyone can tell me if it works with Heroku hosted redis: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Redis.htmlFollowComment


Question: SSH Issue on new Instance

"I have been logging into my new instance using SSH via putty(with puttyGen for the key). I get time-out errors. already activated ICMP and I can see it replying to me.traced issue by checking vpc, subnet ,internet gateway and route table. everything seems to be ok.ec2-18-176-118-154.ap-northeast-1.compute.amazonaws.comJust started AWS and i'm quite clueless on how to proceed.FollowComment"

Answer: 0newbieCommentShareToR-Browseranswered 3 years ago0May be security GroupsCommentSharevamsi199answered 3 years ago


Question: "When I try to create a project in DataZone, got this error: "Unable to create project. Error: Error occurred while adding AmazonDataZoneBootstrapRole as LakeFormation admin in account ...."

"I followed the manual in this case --> "“Fix: Review your AWS CloudFormation stack and if there is a resource conflict, fix the conflict. The problem can also involve the AmazonDataZoneBootstrapRole role which can be either missing or corrupted. For more information, see AmazonDataZoneBootstrapRole to fix this role manually. You can also remove the AWS account association, remove all the created resources, reassociate the AWS account, and try creating the Amazon DataZone project again.”. Desassociate e reassociate the account with no luck.FollowCommentSergio Mafra 12 days agoThe problem was solved by AWS. I had to remove the AWS account association with the external account and that one created by datazone in central account and finally delete the domain and recreat it again.Share"


Question: "EC2, Ubuntu, forgot Passphrase"

"Hi,I have PEM key pair to my EC2 instance, which have Passphrase (the password it ask when we SSH in) , for reason not clear to me, the Passphrase that in my record is not working and I keep getting access denied , tried the this two method,https://aws.amazon.com/premiumsupport/knowledge-center/user-data-replace-key-pair-ec2/ andhttps://docs.aws.amazon.com/systems-manager/latest/userguide/automation-ec2reset.htmlBoth once completed, still asking for password when SSH in.Please guide me guide on how to reset/remove the password (Passphrase ) request when SSH in to this instance.FollowComment"

Answer: "0Accepted AnswerDear Friends,Thank you for those took the initiative to suggest solution for me.My problem root cause was the passphase we assgined for the KeyPairA did not work, so, either my guys recorded wrong passphrase in our record, or something crazy caused this,so when we used KeyPairA, our Instance A keep asking password, and we tried all he standard password my company use non of it workedWe follow the two guide shown in the OP , both did not solve my problemI think because the Instance A is on ubuntu 14.04 and all he automation or vol attachment uses Ubuntu22 (assumed only)What we did is we AMI the instance, detach the volume and attached in a TEMP Instance (which is Ubuntu 14) , mount the volume to a folder in sda1SSH to Temp Instance, do this two this,sudo cp .ssh/authorized_keys /mnt/tempvol/home/ubuntu/.ssh/authorized_keyssudo cp etc/ssh/sshd_configs /mnt/tempvol/home/ubuntu/etc/ssh/sshd_configfew  files from the etc/ssh/ folder copied over too, I can not for sure say which file, copy the whole thing might solve soafter this unmount, detach and attach back to Instance A and the KeyPair used in Temp Instance should work (at least it worked for me)CommentShareMuPathmaanswered 6 months ago0In the past, you could take a snapshot of an instance, create an AMI from that snapshot, create a new keypair, then run an instance based on the AMI with the new SSH keypair.Then, login with the new keypair.You would lose an instance store with this approach.CommentShareBazzeranswered 6 months agoMuPathma 6 months agoI tried to detach the volume, attached to temp_instance, mount it, copy the autorized key details form temp_instance to mounted volume, test and facing same asking for pasword.ShareMuPathma 6 months agoProblem solved and here updating why this idea did not work for me,Instance A was on Ubuntu 14.04Temp Instance B which was used to attached Volume form Instance A was on Ubuntu 22So, some miss match and the new SSH keypair which was generated in Ubuntu 22 did not work with Ubuntu 14, honestly I do not know the root cause, did not spend time as I solved my problem (as explained below)Share0Try SSM connect which will allow you in assuming a few things:Agent is installed (by default in most newer AMIs)EC2 Instance Profile grants permission to SSM agentYour account has access to connect via SSM.Once these are met in EC2 right click and select "Connect".You can read details on setting it up at: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.htmlCommentShareSteve Radichanswered 6 months agoMuPathma 6 months agoThanks for taking a bit time to answer my question, apricate it, we could not get SSM to work on the Instance A (the instance that have passphrase-forgotten keypair)I have solved this issue and I explained how I solve this for others referenceShare"


Question: PS API - Too Many Requests Block

"We are developing a system for Amazon product price evaluation.Our system needs to perform a complete scan of all the products our customers register with the intention of being notified when prices drop. To make this delivery, we always need to check if the product prices have dropped, for which we are using the Product Advertising API 5.0 Scratchpad, but even with a small number of records, we are receiving a "too many requests" block.We would like to know if it is possible to increase the request capacity per minute and also what the current blocking limit is.We need this information because it is extremely important for the functioning of our system, the only bottleneck we have is in the responses from your API, is there any way you can help us solve this problem?FollowComment"


Question: AWS RDS mysql Reboot not completing

"Hi,Roughly 45 mins ago I rebooted our main DB, but it still hasnt returned.Please advise what is going on.xxxxxxxxxxx.ckfpjgakogez.eu-west-1.rds.amazonaws.com (database name replaced by xxxxxx, you should know it from your end ;) ).ThanksRobFollowComment"

Answer: 0Came back after 90 mins. No idea why it takes that long.CommentShareRob_74answered 4 years ago


Question: Deploying a Machine Learning Project with django and laravel as a backend.

"Hello, i need some help regarding my question title. i am working on a project that needs to get a video stored on a website which i have created to work with my machine learning code which is running on pycharm it all seems to be working locally and schedulely but i want it to run it on cloud what type of instance do i need because the model i am using takes a lot of time on cpu and gpu based instance will certainly help. if you need more details regarding this let me know thanks.FollowComment"


Question: LIGHTSAIL - Network Unavailable

"We can't access one of our Windows Lightsail instance, seems like the network was unavailable or not functioning inside the Windows O.S. (drivers ?). We don't change firewall or network settings in the Lightsail panel. How can we access our instance if there is no network connection available? Tried to reboot, Stop and start, and no solution available.The instance is HEALTHY , the issue is NO network inside Windows OS.FollowCommentyujie 6 months agoHello, can you provide more details, were you not able to connect to your windows instance from lightsail console? What is the error you received?Share"

Answer: 0When trying to connect via the console is "Time Out". No ping responses... itá like "no network available" inside the instanceCommentShareInfoilanswered 6 months ago


Question: Can't create ScalingPolicy - No scalable target registered

"I've followed the example  https://github.com/1Strategy/fargate-cloudformation-example/blob/master/fargate.yaml  but when I try to update my stack I get the following error:No scalable target registered for service namespace: ecs, resource ID: service/xxx-prod/xxx-prod-api, scalable dimension: ecs:service:DesiredCount (Service: AWSApplicationAutoScaling; Status Code: 400; Error Code: ObjectNotFoundException; Request ID: 1232c749-a7a9-11e9-bd34-dfed08b14539)All the examples and documentation Ive seen show the resource id as something like :service/cluster-name-AB678321674/service-AB672345678e.g.: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.htmlI dont see how or where I can get the resource id in this format.The CF looks like this: AutoScalingTarget:    Type: AWS::ApplicationAutoScaling::ScalableTarget    Properties:      MinCapacity: !Ref MinContainers      MaxCapacity: !Ref MaxContainers      ResourceId:         Fn::Join:        - "/"        - - service          - Fn::ImportValue:              !Join [':', [!Ref AppStackName, 'ClusterName']]          - !GetAtt Service.Name      ScalableDimension: ecs:service:DesiredCount      ServiceNamespace: ecs      RoleARN:        Fn::ImportValue:          !Join [':', [!Ref SecurityStackName, 'AutoScaleRole']]  AutoScalingPolicy:    Type: AWS::ApplicationAutoScaling::ScalingPolicy    Properties:      PolicyName: !Join ['', [!Ref ServiceName, AutoScalingPolicy]]      PolicyType: TargetTrackingScaling      ScalingTargetId: !Ref AutoScalingTarget      TargetTrackingScalingPolicyConfiguration:        PredefinedMetricSpecification:          PredefinedMetricType: ECSServiceAverageCPUUtilization        ScaleInCooldown: 10        ScaleOutCooldown: 10        TargetValue: !Ref AutoScalingTargetValueThe cluster is created in a separate stack so I have to export/import that.Can anyone see what I've done wrong here?TIA.FollowComment"

Answer: 0Removing the target then re-adding the target and policy fixed the problem.CommentSharepetergjonesanswered 4 years ago


Question: AHA logs - how to receive "affected resources" in logs

"The AHA (AWS health) logs don't have information about affected resources (id, name, arn, etc.) The only information is the phrase in latestDescriptionactualog . 'Your affected EC2 instance(s) are listed in the "Affected Resources" Tab.'.Is there something to be modified in the future so we can have check in the same log the resource id?FollowComment"

Answer: "0AWS Health Aware (AHA) has a new feature which includes to resource ids (and account ids, names when in org mode). The beta is available on Githubhttps://github.com/aws-samples/aws-health-aware/tree/main/aha-2.1-betaCommentShareEXPERTAndrew_Ranswered a year ago"


Question: RDS MariaDB: ERROR 1114 (HY000) at line LLL: The table 'XXX' is full

"I am trying to import a 3GB MariaDB dump into my RDS MariaDB db.t3.medium with 50GB storage,And I am getting this error:ERROR 1114 (HY000) at line 20546: The table 'mdl_question_attempt_step_data' is full(It is a Moodle LMS DB)I have imported several DBs before, with not issue. but they were smaller then 1GB.I am about to import a 50GB DB, and the RDS is set to "auto grow" the storage.Should I do any pre import preparations?FollowComment"

Answer: "0SOLVEDIt probably too the auto storage scaling process to run for some moments (or an hour?)And after I saw in the DB monitor that I have more free disk space, I ran the import command again, and... every thing finished successfully :-)This time, I was monitoring the progress via CLIpv ./moodledb.sql | mysql -h DDDDD.eu-west-1.rds.amazonaws.com -P 3306 -u XXX -p moodledbCommentSharenadavkavanswered 2 years ago"


Question: Need default VPC restored

"I was playing around with VPC settings and wanted to test something w/o default VPC. I've run my tests and now need to restore the default VPC, but I don't have a support plan. Is this possible to do w/o a support plan?FollowComment"

Answer: "1Accepted AnswerIf you delete your default VPC, you can create a new one. You cannot restore a previous default VPC that you deleted, and you cannot mark an existing nondefault VPC as a default VPC.Reference: https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-vpcIs there a reason you want to use the default VPC? I'd highly encourage to move away from default VPC as it's not recommended and is a bad practice to use mainly for security reasons.CommentShareEXPERTTushar_Janswered 8 months agoEXPERTBrettski-AWSreviewed 8 months agorePost-User-0887445 8 months agois there a recommended CIDR for a new VPC? I know the default comes with 172.31.0.0/16What IP range would be recommended for a new VPC x.x.x.x/16?Thank you!Share"


Question: Is AWS Managed AD as PaaS or SaaS service

Is AWS Managed AD as PaaS or SaaS serviceFollowComment

Answer: "0Also known as AWS Managed Microsoft AD, AWS Directory Service for Microsoft Active Directory is powered by an actual Microsoft Windows Server Active Directory (AD), managed by AWS in the AWS Cloud.It enables you to migrate a broad range of Active Directory–aware applications to the AWS Cloud. AWS Managed Microsoft AD works with Microsoft SharePoint, Microsoft SQL Server Always On Availability Groups, and many .NET applications.https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.htmlCommentSharerePost-User-2054795answered 3 months ago0May I know the reason of your question behind? In short, AWS seldom name specific services as IaaS; PaaS; SaaS. The common practice on PaaS vs SaaS is usually SaaS will be focus on end-user application. While PaaS is focus on the deployment and management of your applications. AWS Managed AD service is used under Windwos 2019 server for domain controller service. AWS will help on patches upgrade on AD environment. Thus, I will say it is "PaaS" for AWS Managed AD service. You can refer to the following for the details.https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_key_concepts_maintenance.htmlhttps://aws.amazon.com/types-of-cloud-computing/#:~:text=Platform%20as%20a%20Service%20(PaaS)CommentShareSamuelanswered 3 months ago"


Question: TaskDefinition CDK and LogConfiguration

"Hello AllI am trying to accomplish the followingIf you are using the Fargate launch type for your tasks, all you need to do to turn on the awslogs log driver is add the required logConfiguration parameters to your task definition.I am using CDK to generate the FargateTaskDefntask_definition = _ecs.FargateTaskDefinition(self, "TaskDefinition",                                                 cpu=2048,                                                 memory_limit_mib=4096,                                                 execution_role=ecs_role,                                                 task_role = ecs_role,                                                 )    task_definition.add_container("getFileTask",                                  memory_limit_mib = 4096,                                  cpu=2048,                                  image = _ecs.ContainerImage.from_asset(directory="assets", file="Dockerfile-ecs-file-download"))I looked up the documentation and did not find the any attribute called logConfiguration.What am I missing?I am not able to send the logs from Container running on ECS/Fargate to Cloudwatch and what is needed is to enable this logConfiguration option in the task defn.Thank you for your help. RegardsFollowComment"

Answer: "1Accepted Answerlogging property in ContainerDefinitionOptions passed to ContainerDefinitionOptions.This is where it is documented.Sample Code(nodeJs):taskDefinition.addContainer('Container', {    image: ecs.ContainerImage.fromEcrRepository(        respository,`1.0`),    logging: ecs.LogDrivers.awsLogs({ streamPrefix: 'my-log-group', logRetention: 30 }),});CommentShareBaluanswered a year agotkansara a year agoTy for the response. Was able to get this to work.Share0Finally figured out the logging option in add_container is the on that sends it to cloudwatch.CommentSharetkansaraanswered a year ago"


Question: How can I use EventBridge to submit a scheduled Batch job without specifying the latest job definition revision?

"Hello,I'm trying use EventBridge to schedule Batch submissions. However, I'm getting this error:"User: arn:aws:sts::[account ID]:assumed-role/[IAM Batch invoker role] is not authorized to perform: batch:SubmitJob on resource: arn:aws:batch:[account ID]:job-definition/[job definition name]"The invoker role's permissions are as follows:{    "Version": "2012-10-17",    "Statement": [        {            "Effect": "Allow",            "Action": "batch:SubmitJob",            "Resource": [                "arn:aws:batch:[account ID]:job-definition/[job definition name]:*",                "arn:aws:batch:[account ID]:job/[job name]",                "arn:aws:batch:[account ID]:job-queue/[job queue name]"            ]        }    ]}For whatever reason, the rules work fine if I list the most recent job revision as the rule's target (i.e., arn:aws:batch:[account ID]:job-definition/[job definition name]:235). However, if I don't list the most recent revision number, I get the above error. My team updates this job definition frequently and I'm trying to make several rules like this, so manually changing the revision number every time isn't a good option. The rules also work if I just use "Resource": "*" for permissions, but this security policy is unacceptably broad for my organization. Is there a way I can get rules like this to work without listing the revision number?FollowComment"

Answer: "0Hello!The job definition value can be one ofname,name:revision. Without a revision the latest active revision is usedor the ARN for the job definitionCould you try this policy?"Resource": ["arn:aws:batch:region:account-number:job-definition/[job definition name]","arn:aws:batch:region:account-number:job-definition/[job definition name]:*","arn:aws:batch:region:account-number:job-queue/[job queue name]"]CommentSharehernangarciaanswered 2 months ago"


Question: "Server rebooted unexpectedly multiple times, wondering if outage?"

"Hello AWS team + forum,We received an alert this morning at 7:42am from our NOC that our EC2 instance in us-west1 region had rebooted multiple times and memory was unavailable for 3 hours.Can you please let us know if this is an outage in that region, or if we should investigate software cause for this?Best regards,tifbur2021Here are the contents from our NOC's alert:TAKEN: DATE: 01/27/2021 TIME: 07:43 AMDELIVERED: DATE: 01/27/2021 TIME: 07:43 AM DELIVERED TO:Phone: (914)219-1881Email: declinedPriority: P1 CRITICALUsers: MULTIPLE USERSMessage: Server EC2 instance name, is rebooting several times withmemory down for last 3 hours.FollowComment"

Answer: 0This was a Webroot / antivirus issueCommentSharetifbur2021answered 2 years ago


Question: How to invalidate cloudfront cache for appsync custom domain name?

"Since the cloudfront distro for appsync custom domain names is managed and inaccessible I was wondering how I invalidate the cache? I noticed there's an 'update' button in the custom domain details section, wondering if that will do it, or i need to wait for the caches default TTL?FollowComment"

Answer: "0Thank you for reaching out us regarding the above query. I would like to share that, unfortunately, at the moment, there is no way of invalidating the CloudFront cache (configured for custom domain) directly from AppSync Console.Having said that, i would like to mention that, with respect to data handling i.e Queries, mutations, subscriptions with a custom domain name are treated in a similar way as they are with the default API endpoint (with default CloudFront behaviors). However, in case if you are observing any cached behavior with the custom domain, it would be invalidated automatically after the TTL.For more information the same, please refer to the below documentation:https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#RequestCustomCachingMoving ahead, in case, if you have Server Side Caching enabled for you AppSync API then you can directly flush the cache from AppSync Console or evict the cache as mentioned in the below documentation :https://docs.aws.amazon.com/appsync/latest/devguide/enabling-caching.html#cache-eviction-overviewAdditionally, if your use case requires to have full control over the CloudFront distribution, we can also configure a custom domain with custom distribution created in our account.For more information on the same, please refer to the below documentation:https://aws.amazon.com/blogs/mobile/use-a-custom-domain-with-aws-appsync-amazon-cloudfront-and-amazon-route-53/Having said that, in case you face further challenges, please feel free to open a support case with AWS using the following link.CommentShareSUPPORT ENGINEERAbhishek_Sanswered 4 months ago"


Question: Installing additional libraries to PySpark kernel

"JupyterHub on Amazon EMR comes with default PySpark kernel. How can I install additional libraries on this kernel (e.g. numpy)? I've tried following instructions on https://aws.amazon.com/blogs/big-data/install-python-libraries-on-a-running-cluster-with-emr-notebooks/. However, I cannot install simple libraries like pandas:sc.install_pypi_package("pandas==0.25.1")An error was encountered:No module named 'six'Traceback (most recent call last): File "/usr/lib/spark/python/lib/pyspark.zip/pyspark/context.py", line 1108, in install_pypi_package pypi_package = self._validate_package(pypi_package) File "/usr/lib/spark/python/lib/pyspark.zip/pyspark/context.py", line 1173, in _validate_package import sixModuleNotFoundError: No module named 'six'And I get the same error if I try to install six sc.install_pypi_package("pandas==0.25.1")FollowComment"

Answer: "1One possible cause of this issue is that the PySpark kernel does not have access to the required Python libraries. In order to install additional libraries on the PySpark kernel, you need to ensure that the libraries are available on the EMR cluster.Here are some steps you can take to install additional libraries on the PySpark kernel:Install the libraries on the EMR cluster using the pip command. For example:!pip install pandas==0.25.1Make sure that the libraries are available on all the worker nodes in the EMR cluster. You can do this by adding the libraries to the PYSPARK_PYTHON and PYSPARK_DRIVER_PYTHON paths in the spark-env.sh file on the worker nodes.Restart the PySpark kernel in JupyterHub to make the libraries available to the PySpark kernel.CommentShareSeanSianswered 5 months ago0For a complete guide on how to install additional kernels and libraries on EMR Jupyert hub please read the documentation page hereCommentShareEXPERTFabrizio@AWSanswered 5 months ago"


Question: Shaders seem to be locked somehow

"Hi Guys,Got a really strange one. In GameSDK.I've started trying to get foveated rendering working, but all my shader changes do nothing.I mean nothing at all.I've tried all sorts of things.I've modified ShadowMaskGenPS to always return 1.I've modified the vegetation pixel shader to always return purple.I've tried dozens of things.... and nothing happens.I've checked that the shaders are being compiled by typing rubbish into a shader and looking for compiler errors.I've tried deleting and regenerating all the pack files.I've checked that the opengl renderer is not being run.I've tested both in the editor and stand alone.I'm out of ideas.Has anyone, anyone, got any clue where I should look next.CheersPaulFollow"

Answer: "0Accepted AnswerYou have to ...Build pak filesMake pak filesBuild shader paksThen changes will be propagated to the game.SharerePost-User-9173357answered 6 years ago0I'm a total noob here just early evaluating, but to me it sounds like cached platform asset doesn't get updated on changes.My first try will be to delete manually platform assets instead of paks this before to compile shaders.Maybe they compile, but do not overwrite cached platform data.This way you can also understand if some app keep file handlers to your files preventing update as windows will warn you.Then try to run any process with the most verbose output you can and with admin rights as so many app fails silently on denied access.I don't know if it is the case but It's the best advice I can give without a more specific knowledge of the subject matter.I also believe you can just focus on the editor as stand alone runs on pak files that are presumably built from the actually cached data you are getting in editor, just in a more load friendly archive file.SharerePost-User-7621041answered 6 years ago0No it's not that.I've searched for all instances of shaders and made sure they are up to date.It's something far more hidden, I'm going to see if I can run filemon and check where the shaders get loaded fromSharerePost-User-9173357answered 6 years ago0aaaaagggggghhhhhhhAdded code to see what shaders actually are loaded and the ones I was changing are not loaded.It seems the GameSDK uses fixed pipeline emulation.Loading shader 'Fallback'Loading shader 'FixedPipelineEmu'Loading shader 'Fallback'Loading shader 'FixedPipelineEmu'Loading shader 'Light'Loading shader 'ShadowMaskGen'Loading shader 'HDRPostProcess'Loading shader 'Hud3D'Loading shader 'PostEffects'Can we have emojis please, I need the head meets wall one ... and beer... lot's of beerSharerePost-User-9173357answered 6 years ago0Hey @REDACTEDUSERSharerePost-User-8353690answered 6 years ago0Any joy?I am assuming at the moment that a load of shaders get loaded through a different code path.I made some changes to the vegetation system that got me a 5 FPS gain with foveated rendering, but that was in the c++ code not the shaders.The shaders are still proving to be a major headache as you are never sure which ones are loaded, and even when you are sure they are loaded, it's impossible to work out which techniques are used and which #defines are set when they are compiledSharerePost-User-9173357answered 6 years ago0I'm getting closer to working out what is going on, but running out of time.I've found that a lot of the shader #defines are stored in files which exist in cvargroups stored all over the place.That allowed me to write a tool which handles all the #defines and generates the text that actually gets compiled by the shader compiler.This then really screwed my head up.For example. The Vegetation shader includes CommonShadowGenPass.cfi and ShadowCommon.cfiI assumed ShadowMaskGen would be run, but it looks like the shadow pass that is actually run is dependant on the flags set in the vegetation shader.I think the actually technique executed is defined in the script string.So for vegetation the technique would be ShadowGen.Assuming the #defines have been scanned correctly, this would then execute the Common_SG_PS pixel shader, which is very basic.It does explain why my shader changes had absolutely no effect though.I know the shader system is being re-written, any idea when that will be rolled out to the public?SharerePost-User-9173357answered 6 years ago0This issue is assigned to one of our engineers right now and he should have an update for you shortly.SharerePost-User-8353690answered 6 years ago0I am more and more convinced that my changes are not being executed.I am now pointing my blame finger on the asset management system.All assets come form "@assets@" which seems to be in the engine as a way of allowing remote file systems.I suspect this is broken for stand alone apps.Instead of getting the shaders from gamesdk_pc_paks\GameSDK*.pak it is getting them from somewhere else.It's all that makes sense by this stage.SharerePost-User-9173357answered 6 years ago0Actually I was wrong.Before I make the pak files, I have to build the pak files.@"/C .\bin64\AssetProcessorBatch.exe /gamefolder={0} /platforms=pc", gameThat's the one that actually updates the shader source code....SharerePost-User-9173357answered 6 years ago0Well I think I have found one problem.I have two commands. One builds the entire game. One just updates the shaders.If I place the code "b*stard" into a shader and update the shaders, I get no errors.If I then build the entire game, I get a shader compiler error.So the shaders that get compiled by@"/C .\Bin64\ShaderCacheGen.exe /BuildGlobalCache /ShadersPlatform=PC"Are not the ones I have been editing.So what I think happens is that the makepaks command ...@"/C .\bin64\rc\rc.exe /job=bin64\rc\RCJob_Generic_MakePaks.xml /p=pc /game={0}", game.ToLower()Actually copies the source files into pak files which are then compiled into the shader cache.man this is a mess.SharerePost-User-9173357answered 6 years ago0Yes, I have now written by own tool to update the shaders and place them in the correct directory.That did catch me out a long time ago.SharerePost-User-9173357answered 6 years ago0It sounds like you've delved deeper than I have so far but I did run into a problem related to shaders. Just in case it helps: I was using the "BuildShaderPak_DX11.bat" file to build the shaders but it is hard coded to work on "SamplesProject". I had to edit it to point to the project I was working on.SharerePost-User-7779371answered 6 years ago"


Question: Human Review Flow not triggert with low value confidence

"Hi,I`m using aws textract to extract information from an png. I want to trigger an human review workflow when textract has a low confidence of the value (not the key!). But it doesn't trigger. My supposition is that the aws console doesn't write the JSON correctly.My png: My python call:   response = textract.analyze_document(         Document={                "S3Object": {                    "Bucket": "sagemakerawstextracttest",                     "Name": "test.png"                }         },         HumanLoopConfig={            "FlowDefinitionArn":"arn:aws:sagemaker:eu-central-1:392047662260:flow-definition/confunderv2",            "HumanLoopName":"223456",            "DataAttributes" : {                "ContentClassifiers":["FreeOfPersonallyIdentifiableInformation","FreeOfAdultContent"]            }         },         FeatureTypes=["FORMS"])The response:{'DocumentMetadata': {'Pages': 1}, 'Blocks': [{'BlockType': 'PAGE',   'Geometry': {'BoundingBox': {'Width': 1.0,     'Height': 1.0,     'Left': 0.0,     'Top': 0.0},    'Polygon': [{'X': 9.166517763292134e-17, 'Y': 0.0},     {'X': 1.0, 'Y': 1.6361280468230185e-16},     {'X': 1.0, 'Y': 1.0},     {'X': 0.0, 'Y': 1.0}]},   'Id': '731d5fe7-4ef1-483d-940d-75eb7a113034',   'Relationships': [{'Type': 'CHILD',     'Ids': ['d88b4e1d-257e-4ce2-9d45-8e72b1849c35',      '820a0720-e256-43c8-8608-c047c43e02fc',      'd39da0ab-5e3c-46df-a3d2-a96c8d7d62ca',      '83b498a5-e833-43bb-9562-c785d668c438',      '6849808f-f183-4535-92b1-20770cbdddd1',      'e6cb3e33-6c4a-4d8e-b51a-d8293b8ae487',      '9d731496-0f47-471a-828e-63ffc536b2f8',      '238a421e-8d4e-4927-a8e7-74c9b8e7c02b',      'afab5162-c4a8-462a-808e-9e73f2c199df']}]},  {'BlockType': 'LINE',   'Confidence': 99.37574005126953,   'Text': 'Name: Paul Spöring',   'Geometry': {'BoundingBox': {'Width': 0.5787070989608765,     'Height': 0.0934426411986351,     'Left': 0.09132613986730576,     'Top': 0.22022898495197296},    'Polygon': [{'X': 0.09132613986730576, 'Y': 0.22022898495197296},     {'X': 0.6700332760810852, 'Y': 0.22022898495197296},     {'X': 0.6700332760810852, 'Y': 0.31367161870002747},     {'X': 0.09132613986730576, 'Y': 0.31367161870002747}]},   'Id': 'd88b4e1d-257e-4ce2-9d45-8e72b1849c35',   'Relationships': [{'Type': 'CHILD',     'Ids': ['7a09146f-189a-4f63-9a1e-5b535161c73d',      'b3171404-53e3-4b73-9d32-848a26bb6b00',      '71b86f1d-c6d7-443c-bd34-a1bb7dbf059d']}]},  {'BlockType': 'LINE',   'Confidence': 99.62093353271484,   'Text': 'Alter: 20',   'Geometry': {'BoundingBox': {'Width': 0.2573024034500122,     'Height': 0.07728662341833115,     'Left': 0.08906695991754532,     'Top': 0.3895558714866638},    'Polygon': [{'X': 0.08906695991754532, 'Y': 0.3895558714866638},     {'X': 0.3463693857192993, 'Y': 0.3895558714866638},     {'X': 0.3463693857192993, 'Y': 0.46684250235557556},     {'X': 0.08906695991754532, 'Y': 0.46684250235557556}]},   'Id': '820a0720-e256-43c8-8608-c047c43e02fc',   'Relationships': [{'Type': 'CHILD',     'Ids': ['e869172f-4479-43e9-9310-bcccb5039bd1',      '22d76bef-3742-4aa1-9948-f10631f7be85']}]},  {'BlockType': 'LINE',   'Confidence': 82.59257507324219,   'Text': 'Blub: you',   'Geometry': {'BoundingBox': {'Width': 0.43706580996513367,     'Height': 0.11816448718309402,     'Left': 0.09128420799970627,     'Top': 0.560679018497467},    'Polygon': [{'X': 0.09128420799970627, 'Y': 0.560679018497467},     {'X': 0.5283499956130981, 'Y': 0.560679018497467},     {'X': 0.5283499956130981, 'Y': 0.6788434982299805},     {'X': 0.09128420799970627, 'Y': 0.6788434982299805}]},   'Id': 'd39da0ab-5e3c-46df-a3d2-a96c8d7d62ca',   'Relationships': [{'Type': 'CHILD',     'Ids': ['a9fd356f-1935-4f51-8053-02d1bf02f609',      'c657da1a-2441-4844-99bd-f301887eb5ed']}]},  {'BlockType': 'WORD',   'Confidence': 99.62495422363281,   'Text': 'Name:',   'TextType': 'PRINTED',   'Geometry': {'BoundingBox': {'Width': 0.19461767375469208,     'Height': 0.07422882318496704,     'Left': 0.09132613986730576,     'Top': 0.2239169031381607},    'Polygon': [{'X': 0.09132613986730576, 'Y': 0.2239169031381607},     {'X': 0.28594380617141724, 'Y': 0.2239169031381607},     {'X': 0.28594380617141724, 'Y': 0.29814571142196655},     {'X': 0.09132613986730576, 'Y': 0.29814571142196655}]},   'Id': '7a09146f-189a-4f63-9a1e-5b535161c73d'},  {'BlockType': 'WORD',   'Confidence': 98.95515441894531,   'Text': 'Paul',   'TextType': 'PRINTED',   'Geometry': {'BoundingBox': {'Width': 0.12700314819812775,     'Height': 0.07847694307565689,     'Left': 0.30101263523101807,     'Top': 0.22022898495197296},    'Polygon': [{'X': 0.30101263523101807, 'Y': 0.22022898495197296},     {'X': 0.428015798330307, 'Y': 0.22022898495197296},     {'X': 0.428015798330307, 'Y': 0.29870593547821045},     {'X': 0.30101263523101807, 'Y': 0.29870593547821045}]},   'Id': 'b3171404-53e3-4b73-9d32-848a26bb6b00'},  {'BlockType': 'WORD',   'Confidence': 99.54711151123047,   'Text': 'Spöring',   'TextType': 'PRINTED',   'Geometry': {'BoundingBox': {'Width': 0.23034201562404633,     'Height': 0.09066428989171982,     'Left': 0.4396912455558777,     'Top': 0.22300733625888824},    'Polygon': [{'X': 0.4396912455558777, 'Y': 0.22300733625888824},     {'X': 0.6700332760810852, 'Y': 0.22300733625888824},     {'X': 0.6700332760810852, 'Y': 0.31367161870002747},     {'X': 0.4396912455558777, 'Y': 0.31367161870002747}]},   'Id': '71b86f1d-c6d7-443c-bd34-a1bb7dbf059d'},  {'BlockType': 'WORD',   'Confidence': 99.47355651855469,   'Text': 'Alter:',   'TextType': 'PRINTED',   'Geometry': {'BoundingBox': {'Width': 0.16495245695114136,     'Height': 0.07728662341833115,     'Left': 0.08906695991754532,     'Top': 0.3895558714866638},    'Polygon': [{'X': 0.08906695991754532, 'Y': 0.3895558714866638},     {'X': 0.2540194094181061, 'Y': 0.3895558714866638},     {'X': 0.2540194094181061, 'Y': 0.46684250235557556},     {'X': 0.08906695991754532, 'Y': 0.46684250235557556}]},   'Id': 'e869172f-4479-43e9-9310-bcccb5039bd1'},  {'BlockType': 'WORD',   'Confidence': 99.76831817626953,   'Text': '20',   'TextType': 'PRINTED',   'Geometry': {'BoundingBox': {'Width': 0.07841669768095016,     'Height': 0.07549438625574112,     'Left': 0.26795268058776855,     'Top': 0.3907521665096283},    'Polygon': [{'X': 0.26795268058776855, 'Y': 0.3907521665096283},     {'X': 0.3463693857192993, 'Y': 0.3907521665096283},     {'X': 0.3463693857192993, 'Y': 0.4662465453147888},     {'X': 0.26795268058776855, 'Y': 0.4662465453147888}]},   'Id': '22d76bef-3742-4aa1-9948-f10631f7be85'},  {'BlockType': 'WORD',   'Confidence': 99.90613555908203,   'Text': 'Blub:',   'TextType': 'PRINTED',   'Geometry': {'BoundingBox': {'Width': 0.15235087275505066,     'Height': 0.07806506007909775,     'Left': 0.09128420799970627,     'Top': 0.560679018497467},    'Polygon': [{'X': 0.09128420799970627, 'Y': 0.560679018497467},     {'X': 0.24363507330417633, 'Y': 0.560679018497467},     {'X': 0.24363507330417633, 'Y': 0.638744056224823},     {'X': 0.09128420799970627, 'Y': 0.638744056224823}]},   'Id': 'a9fd356f-1935-4f51-8053-02d1bf02f609'},  {'BlockType': 'WORD',   'Confidence': 65.27902221679688,   'Text': 'you',   'TextType': 'HANDWRITING',   'Geometry': {'BoundingBox': {'Width': 0.2605644464492798,     'Height': 0.10577575862407684,     'Left': 0.26778554916381836,     'Top': 0.5730677247047424},    'Polygon': [{'X': 0.26778554916381836, 'Y': 0.5730677247047424},     {'X': 0.5283499956130981, 'Y': 0.5730677247047424},     {'X': 0.5283499956130981, 'Y': 0.6788434982299805},     {'X': 0.26778554916381836, 'Y': 0.6788434982299805}]},   'Id': 'c657da1a-2441-4844-99bd-f301887eb5ed'},  {'BlockType': 'KEY_VALUE_SET',   'Confidence': 95.0,   'Geometry': {'BoundingBox': {'Width': 0.14683577418327332,     'Height': 0.07679956406354904,     'Left': 0.09270352125167847,     'Top': 0.5600157380104065},    'Polygon': [{'X': 0.09270352125167847, 'Y': 0.5600157380104065},     {'X': 0.23953929543495178, 'Y': 0.5600157380104065},     {'X': 0.23953929543495178, 'Y': 0.6368153095245361},     {'X': 0.09270352125167847, 'Y': 0.6368153095245361}]},   'Id': '83b498a5-e833-43bb-9562-c785d668c438',   'Relationships': [{'Type': 'VALUE',     'Ids': ['6849808f-f183-4535-92b1-20770cbdddd1']},    {'Type': 'CHILD', 'Ids': ['a9fd356f-1935-4f51-8053-02d1bf02f609']}],   'EntityTypes': ['KEY']},  {'BlockType': 'KEY_VALUE_SET',   'Confidence': 95.0,   'Geometry': {'BoundingBox': {'Width': 0.25565099716186523,     'Height': 0.10435424745082855,     'Left': 0.27307748794555664,     'Top': 0.5714280009269714},    'Polygon': [{'X': 0.27307748794555664, 'Y': 0.5714280009269714},     {'X': 0.5287284851074219, 'Y': 0.5714280009269714},     {'X': 0.5287284851074219, 'Y': 0.6757822036743164},     {'X': 0.27307748794555664, 'Y': 0.6757822036743164}]},   'Id': '6849808f-f183-4535-92b1-20770cbdddd1',   'Relationships': [{'Type': 'CHILD',     'Ids': ['c657da1a-2441-4844-99bd-f301887eb5ed']}],   'EntityTypes': ['VALUE']},  {'BlockType': 'KEY_VALUE_SET',   'Confidence': 94.0,   'Geometry': {'BoundingBox': {'Width': 0.18979747593402863,     'Height': 0.06938383728265762,     'Left': 0.09253517538309097,     'Top': 0.22251036763191223},    'Polygon': [{'X': 0.09253517538309097, 'Y': 0.22251036763191223},     {'X': 0.2823326289653778, 'Y': 0.22251036763191223},     {'X': 0.2823326289653778, 'Y': 0.29189419746398926},     {'X': 0.09253517538309097, 'Y': 0.29189419746398926}]},   'Id': 'e6cb3e33-6c4a-4d8e-b51a-d8293b8ae487',   'Relationships': [{'Type': 'VALUE',     'Ids': ['9d731496-0f47-471a-828e-63ffc536b2f8']},    {'Type': 'CHILD', 'Ids': ['7a09146f-189a-4f63-9a1e-5b535161c73d']}],   'EntityTypes': ['KEY']},  {'BlockType': 'KEY_VALUE_SET',   'Confidence': 94.0,   'Geometry': {'BoundingBox': {'Width': 0.359325647354126,     'Height': 0.09458027780056,     'Left': 0.3059462904930115,     'Top': 0.21961979568004608},    'Polygon': [{'X': 0.3059462904930115, 'Y': 0.21961979568004608},     {'X': 0.6652719378471375, 'Y': 0.21961979568004608},     {'X': 0.6652719378471375, 'Y': 0.3142000734806061},     {'X': 0.3059462904930115, 'Y': 0.3142000734806061}]},   'Id': '9d731496-0f47-471a-828e-63ffc536b2f8',   'Relationships': [{'Type': 'CHILD',     'Ids': ['b3171404-53e3-4b73-9d32-848a26bb6b00',      '71b86f1d-c6d7-443c-bd34-a1bb7dbf059d']}],   'EntityTypes': ['VALUE']},  {'BlockType': 'KEY_VALUE_SET',   'Confidence': 90.0,   'Geometry': {'BoundingBox': {'Width': 0.16694426536560059,     'Height': 0.076688751578331,     'Left': 0.08947249501943588,     'Top': 0.38823941349983215},    'Polygon': [{'X': 0.08947249501943588, 'Y': 0.38823941349983215},     {'X': 0.25641676783561707, 'Y': 0.38823941349983215},     {'X': 0.25641676783561707, 'Y': 0.46492815017700195},     {'X': 0.08947249501943588, 'Y': 0.46492815017700195}]},   'Id': '238a421e-8d4e-4927-a8e7-74c9b8e7c02b',   'Relationships': [{'Type': 'VALUE',     'Ids': ['afab5162-c4a8-462a-808e-9e73f2c199df']},    {'Type': 'CHILD', 'Ids': ['e869172f-4479-43e9-9310-bcccb5039bd1']}],   'EntityTypes': ['KEY']},  {'BlockType': 'KEY_VALUE_SET',   'Confidence': 90.0,   'Geometry': {'BoundingBox': {'Width': 0.0738547071814537,     'Height': 0.0703207403421402,     'Left': 0.26923850178718567,     'Top': 0.39165323972702026},    'Polygon': [{'X': 0.26923850178718567, 'Y': 0.39165323972702026},     {'X': 0.34309321641921997, 'Y': 0.39165323972702026},     {'X': 0.34309321641921997, 'Y': 0.46197396516799927},     {'X': 0.26923850178718567, 'Y': 0.46197396516799927}]},   'Id': 'afab5162-c4a8-462a-808e-9e73f2c199df',   'Relationships': [{'Type': 'CHILD',     'Ids': ['22d76bef-3742-4aa1-9948-f10631f7be85']}],   'EntityTypes': ['VALUE']}], 'HumanLoopActivationOutput': {'HumanLoopActivationReasons': [],  'HumanLoopActivationConditionsEvaluationResults': '{"Conditions":[{"And":[{"ConditionType":"ImportantFormKeyConfidenceCheck","ConditionParameters":{"ImportantFormKey":"*","ImportantFormKeyAliases":[],"KeyValueBlockConfidenceLessThan":20.0,"WordBlockConfidenceLessThan":90.0},"EvaluationResult":false},{"ConditionType":"ImportantFormKeyConfidenceCheck","ConditionParameters":{"ImportantFormKey":"*","ImportantFormKeyAliases":[],"KeyValueBlockConfidenceGreaterThan":0.0,"WordBlockConfidenceGreaterThan":0.0},"EvaluationResult":true}],"EvaluationResult":false}]}'}, 'AnalyzeDocumentModelVersion': '1.0', 'ResponseMetadata': {'RequestId': '33e55167-74c8-461b-b83e-ccda0603c1a7',  'HTTPStatusCode': 200,  'HTTPHeaders': {'x-amzn-requestid': '33e55167-74c8-461b-b83e-ccda0603c1a7',   'content-type': 'application/x-amz-json-1.1',   'content-length': '10018',   'date': 'Tue, 04 Oct 2022 12:41:57 GMT'},  'RetryAttempts': 0}}As you can see is the confidence in the key quite high, but the confidence in the value of the key "Blub" low.My console configuration:And the JSON that the console makes from it:{  "Conditions": [    {      "And": [        {          "ConditionType": "ImportantFormKeyConfidenceCheck",          "ConditionParameters": {            "ImportantFormKey": "*",            "KeyValueBlockConfidenceLessThan": 20,            "WordBlockConfidenceLessThan": 90          }        },        {          "ConditionType": "ImportantFormKeyConfidenceCheck",          "ConditionParameters": {            "ImportantFormKey": "*",            "KeyValueBlockConfidenceGreaterThan": 0,            "WordBlockConfidenceGreaterThan": 0          }        }      ]    }  ]}My question is, how to I configure it, that the human review flow is triggert, when the confidence of the value (not the key, or key and value) is low?Best regards,PaulFollowComment"


Question: Question about refunds

"Hi,I’m trying to get a refund. Last week I noticed that I was charged for this AWS service.For context, I signed up as part of a boot camp and was told that this was the free option which is the only reason I provided my payment information.FYI, I understand this is probably not the right place to post, but after a quick search through my menu options I couldn’t find a customer service email or phone number to ask this question.Please let me know who to talk to to discuss refunds.Thanks,BenFollowComment"

Answer: 0You can always reach out to https://aws.amazon.com/contact-us/ and you can create a case Assistance with account and billing-related inquiries. More information can be found on this page https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-get-answers.html#billing-supportCommentShareEXPERTAWS-User-Nitinanswered 2 months ago


Question: Input Bindings does not support mouse wheel up/down?

"The input bindings does not seem to support binding the mouse scroll up and mouse scroll down buttons. I want to bind mouse scroll up and down to zoom in and out of the camera, but there is no option for scroll up/down. Am I missing something?REMOVEDUPLOADFollow"

Answer: "0Accepted AnswerHi @REDACTEDUSERI checked , mouse scroll up and mouse scroll down supported in Script Canvas ;-)you check this Script Canvas file:http://www.mediafire.com/file/v2zl0zg9m56odcc/Zoom.scriptcanvasAlso , you check this input binding file :http://www.mediafire.com/file/s7ep47kbq7b21e7/input.inputbindingsREMOVEDUPLOADREMOVEDUPLOADREMOVEDUPLOADSharerePost-User-8224505answered 5 years ago0Thank youSharerePost-User-4975070answered 5 years ago0You are Welcome , I suggest to you , please see :https://forums.awsgametech.com/t/script-canvas-tutorials-lets-get-start-lumberyard-1-14-robot-island/5282/1https://forums.awsgametech.com/t/lesson-01-make-a-fps-or-a-tps-with-script-canvas-tutorial-lumberyard-1-14/5292/1I'm going to publish my training.Stay tunedSharerePost-User-8224505answered 5 years ago"


Question: Does EMR Serverless require a certain size of CIDR block in the VPC?

"With Redshift Serverless you need a certain amount of available private IPs in your VPC, so I was wondering if it's similar here, and, if so, how many IPs?FollowComment"

Answer: "0Here is the excerpt from EMR Serverless User Guide.We recommend that you select multiple subnets across multiple Availability Zones. This is because the subnets that you choose determine the Availability Zones that are available for an EMR Serverless application to launch. Each worker will consume an IP address on the subnet where it is launched. Please ensure that the specified subnets have sufficient IP addresses for the number of workers you plan to launch.Basically, each worker consumes one IP address from subnet so you have to ensure that the specified subnets have sufficient IP addresses for the number of workers you plan to launch.CommentShareKashifanswered 4 months ago"


Question: c6gn.4xlarge instance type has wrong network bandwidth?

"HelloLooking at https://aws.amazon.com/ec2/pricing/on-demand/ and at https://aws.amazon.com/ec2/instance-types/c6g/ i see that the c6gn.4xlarge graviton instance has a network bandwidth baseline of 25 Gbps, but when i try to launch it from aws console the network performance says "up to 25 Gbps". Is this a bug in the documentation?So which one is actually the right one??ThanksFollowComment"

Answer: 1Accepted AnswerThe information in the AWS Console is correct: c6gn.4xlarge instances provide up to 25Gbps of network bandwidth. We'll be updating the information on the websites to provide corrected information.CommentShareEXPERTMichael_Fanswered a year agoKr4t0s a year agoIs the network bandwidth also correct for c6g.8xlarge? i see also a discrepancy between what the aws console says (12 Gbps) and https://aws.amazon.com/ec2/pricing/on-demand/  (Up to 10 Gbps) for that instance type. Which one is right?Share


Question: Lambda layers exceed quota - how to fix?

"When add layers (Python libraries in my case) to a Lambda Function, I receive the below error. Do any of you know how to resolve? I need the libraries within those layers' zip files. Thank you - Brendan"Layers consume more than the available size of 262144000 bytes"FollowComment"

Answer: "0Hi Brendan,Lambda has a 250MB Deployment package hard limit. We can see this here in our Documentation under "Deployment package (.zip file archive) size". This limit cannot be increased.You can try to remove unneeeded packages in the Deployment package to ensure that it is within the limit. If that is not possible, the recommendation is to use Lambda with EFS as discussed here in our blog.Please check out the whole blog but the main part that we are looking for is "Sharing large code packages with Lambda". Let us know if you may have any questions around this.CommentShareSUPPORT ENGINEERRyan_Aanswered a year agoAWS-User-1377122 a year agoThank you, Ryan_A! I will look into this -- greatly appreciate the response. - BrendanShare0As mentioned by Lambda, total Lambda deployment size can't exceed 250MB when using the ZIP file deployment method. However, Lambda now supports also container images. Those can be up to 10GB in size. So instead of using layers, just include all the libraries in the docker image.You can find more information about Lambda container images here.CommentShareEXPERTUrianswered a year agoAWS-User-1377122 a year agoThank you as well, Uri! I will look into this too. I'm new to AWS, so exploring/learning the options. Thanks again - BrendanShare0You can use Docker with Lambda. It allows images up to 10GB in size. https://docs.aws.amazon.com/lambda/latest/dg/images-create.htmlI've written a step-by-step guide on how to use docker with lambda - https://www.cloudtechsimplified.com/run-docker-containers-images-from-ecr-in-aws-lambda-along-with-cicd/CommentSharemugiltsranswered 8 months ago"


Question: "AWS CLI RDS create-db-instance - Unknown options: groups, Subnet"

"Hi everyone, I am trying to write a bash script and using the AWS CLI in a Linux environment to automate the creation of some AWS infrastructure.  I am trying to use the aws rds create-db-instance command to create my RDS instance but I am running into an error: Unknown options: groups, SubnetI have done some research and know that the groups and Subnet options are from AWS CLI v1 and is depreciated but I am using the latest version of AWS CLI and do not use those options in my command.Interestingly enough if I run this command outside my bash script in my Linux terminal it does not have this issue and the RDS instance is created.Any suggestions or ideas would be greatly appreciated thank you.aws --versionaws-cli/2.10.1 Python/3.9.11 Linux/5.10.16.3-microsoft-standard-WSL2 exe/x86_64.ubuntu.22 prompt/offaws rds create-db-instance --debug --db-name $rds_db_name --db-instance-identifier $rds_identifier --allocated-storage $rds_allocated_storage --db-instance-class $rds_instance_class --engine $rds_engine --master-username $rds_master_username --master-user-password $rds_master_user_password --vpc-security-group-ids $security_group_id_db --db-subnet-group-name $subnet_group_nameDebug logs2023-02-19 09:58:27,509 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x7f2265ee7040>2023-02-19 09:58:27,509 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function alias_opsworks_cm at 0x7f2265a4e160>2023-02-19 09:58:27,509 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_history_commands at 0x7f2265bd7e50>2023-02-19 09:58:27,509 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.devcommands.CLIDevCommand'>>2023-02-19 09:58:27,509 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_waiters at 0x7f2265a473a0>2023-02-19 09:58:27,510 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7f22657a0190>>2023-02-19 09:58:27,510 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.10.1/dist/awscli/data/cli.json2023-02-19 09:58:27,513 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_types at 0x7f2265b0d0d0>2023-02-19 09:58:27,513 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function no_sign_request at 0x7f2265b0dc10>2023-02-19 09:58:27,513 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_verify_ssl at 0x7f2265b0db80>2023-02-19 09:58:27,513 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_read_timeout at 0x7f2265b0dd30>2023-02-19 09:58:27,513 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_connect_timeout at 0x7f2265b0dca0>2023-02-19 09:58:27,513 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <built-in method update of dict object at 0x7f22657a9b80>2023-02-19 09:58:27,514 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.10.1 Python/3.9.11 Linux/5.10.16.3-microsoft-standard-WSL2 exe/x86_64.ubuntu.22 prompt/off2023-02-19 09:58:27,514 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['rds', 'create-db-instance', '--debug', '--db-name', 'bookstack_db', '--db-instance-identifier', 'Assignment2-rds', '--allocated-storage', '5', '--db-instance-class', 'db.m6i.large', '--engine', 'mysql', '--master-username', 'root', '--master-user-password', 'password', '--vpc-security-group-ids', 'sg-044926a269ca7870c', '--db-subnet-group-name', 'RDS', 'Subnet', 'group']2023-02-19 09:58:27,514 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_timestamp_parser at 0x7f2265abadc0>2023-02-19 09:58:27,514 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x7f2266354dc0>2023-02-19 09:58:27,514 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_binary_formatter at 0x7f22657e4670>2023-02-19 09:58:27,514 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function no_pager_handler at 0x7f22663510d0>2023-02-19 09:58:27,515 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x7f2266337ca0>2023-02-19 09:58:27,516 - MainThread - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/2023-02-19 09:58:27,518 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x7f2265bd7d30>2023-02-19 09:58:27,518 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_json_file_cache at 0x7f2265e43ee0>2023-02-19 09:58:27,531 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.10.1/dist/awscli/botocore/data/rds/2014-10-31/service-2.json2023-02-19 09:58:27,540 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.10.1/dist/awscli/botocore/data/rds/2014-10-31/service-2.sdk-extras.json2023-02-19 09:58:27,547 - MainThread - botocore.hooks - DEBUG - Event building-command-table.rds: calling handler <function _building_command_table at 0x7f2265b25e50>2023-02-19 09:58:27,548 - MainThread - botocore.hooks - DEBUG - Event building-command-table.rds: calling handler <function _add_generate_db_auth_token at 0x7f2265b25ca0>2023-02-19 09:58:27,548 - MainThread - botocore.hooks - DEBUG - Event building-command-table.rds: calling handler <function add_waiters at 0x7f2265a473a0>2023-02-19 09:58:27,559 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.10.1/dist/awscli/botocore/data/rds/2014-10-31/waiters-2.json2023-02-19 09:58:27,561 - MainThread - botocore.hooks - DEBUG - Event building-command-table.rds: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7f22657a0190>>2023-02-19 09:58:27,564 - MainThread - awscli.clidriver - DEBUG - OrderedDict([('db-name', <awscli.arguments.CLIArgument object at 0x7f2264fa9550>), ('db-instance-identifier', <awscli.arguments.CLIArgument object at 0x7f2264fa9580>), ('allocated-storage', <awscli.arguments.CLIArgument object at 0x7f2264f43070>), ('db-instance-class', <awscli.arguments.CLIArgument object at 0x7f2264f430a0>), ('engine', <awscli.arguments.CLIArgument object at 0x7f2264f430d0>), ('master-username', <awscli.arguments.CLIArgument object at 0x7f2264f43100>), ('master-user-password', <awscli.arguments.CLIArgument object at 0x7f2264f43130>), ('db-security-groups', <awscli.arguments.ListArgument object at 0x7f2264f43160>), ('vpc-security-group-ids', <awscli.arguments.ListArgument object at 0x7f2264f43190>), ('availability-zone', <awscli.arguments.CLIArgument object at 0x7f2264f431c0>), ('db-subnet-group-name', <awscli.arguments.CLIArgument object at 0x7f2264f431f0>), ('preferred-maintenance-window', <awscli.arguments.CLIArgument object at 0x7f2264f43220>), ('db-parameter-group-name', <awscli.arguments.CLIArgument object at 0x7f2264f43250>), ('backup-retention-period', <awscli.arguments.CLIArgument object at 0x7f2264f43280>), ('preferred-backup-window', <awscli.arguments.CLIArgument object at 0x7f2264f432b0>), ('port', <awscli.arguments.CLIArgument object at 0x7f2264f432e0>), ('multi-az', <awscli.arguments.BooleanArgument object at 0x7f2264f43310>), ('no-multi-az', <awscli.arguments.BooleanArgument object at 0x7f2264f43340>), ('engine-version', <awscli.arguments.CLIArgument object at 0x7f2264f43370>), ('auto-minor-version-upgrade', <awscli.arguments.BooleanArgument object at 0x7f2264f433a0>), ('no-auto-minor-version-upgrade', <awscli.arguments.BooleanArgument object at 0x7f2264f433d0>), ('license-model', <awscli.arguments.CLIArgument object at 0x7f2264f43400>), ('iops', <awscli.arguments.CLIArgument object at 0x7f2264f43430>), ('option-group-name', <awscli.arguments.CLIArgument object at 0x7f2264f43460>), ('character-set-name', <awscli.arguments.CLIArgument object at 0x7f2264f43490>), ('nchar-character-set-name', <awscli.arguments.CLIArgument object at 0x7f2264f434c0>), ('publicly-accessible', <awscli.arguments.BooleanArgument object at 0x7f2264f434f0>), ('no-publicly-accessible', <awscli.arguments.BooleanArgument object at 0x7f2264f43520>), ('tags', <awscli.arguments.ListArgument object at 0x7f2264f43550>), ('db-cluster-identifier', <awscli.arguments.CLIArgument object at 0x7f2264f43580>), ('storage-type', <awscli.arguments.CLIArgument object at 0x7f2264f435b0>), ('tde-credential-arn', <awscli.arguments.CLIArgument object at 0x7f2264f435e0>), ('tde-credential-password', <awscli.arguments.CLIArgument object at 0x7f2264f43610>), ('storage-encrypted', <awscli.arguments.BooleanArgument object at 0x7f2264f43640>), ('no-storage-encrypted', <awscli.arguments.BooleanArgument object at 0x7f2264f43670>), ('kms-key-id', <awscli.arguments.CLIArgument object at 0x7f2264f436a0>), ('domain', <awscli.arguments.CLIArgument object at 0x7f2264f436d0>), ('copy-tags-to-snapshot', <awscli.arguments.BooleanArgument object at 0x7f2264f43700>), ('no-copy-tags-to-snapshot', <awscli.arguments.BooleanArgument object at 0x7f2264f43730>), ('monitoring-interval', <awscli.arguments.CLIArgument object at 0x7f2264f43760>), ('monitoring-role-arn', <awscli.arguments.CLIArgument object at 0x7f2264f43790>), ('domain-iam-role-name', <awscli.arguments.CLIArgument object at 0x7f2264f437c0>), ('promotion-tier', <awscli.arguments.CLIArgument object at 0x7f2264f437f0>), ('timezone', <awscli.arguments.CLIArgument object at 0x7f2264f43820>), ('enable-iam-database-authentication', <awscli.arguments.BooleanArgument object at 0x7f2264f43850>), ('no-enable-iam-database-authentication', <awscli.arguments.BooleanArgument object at 0x7f2264f43880>), ('enable-performance-insights', <awscli.arguments.BooleanArgument object at 0x7f2264f438b0>), ('no-enable-performance-insights', <awscli.arguments.BooleanArgument object at 0x7f2264f438e0>), ('performance-insights-kms-key-id', <awscli.arguments.CLIArgument object at 0x7f2264f43910>), ('performance-insights-retention-period', <awscli.arguments.CLIArgument object at 0x7f2264f43940>), ('enable-cloudwatch-logs-exports', <awscli.arguments.ListArgument object at 0x7f2264f43970>), ('processor-features', <awscli.arguments.ListArgument object at 0x7f2264f439a0>), ('deletion-protection', <awscli.arguments.BooleanArgument object at 0x7f2264f439d0>), ('no-deletion-protection', <awscli.arguments.BooleanArgument object at 0x7f2264f43a00>), ('max-allocated-storage', <awscli.arguments.CLIArgument object at 0x7f2264f43a30>), ('enable-customer-owned-ip', <awscli.arguments.BooleanArgument object at 0x7f2264f43a60>), ('no-enable-customer-owned-ip', <awscli.arguments.BooleanArgument object at 0x7f2264f43a90>), ('custom-iam-instance-profile', <awscli.arguments.CLIArgument object at 0x7f2264f43ac0>), ('backup-target', <awscli.arguments.CLIArgument object at 0x7f2264f43af0>), ('network-type', <awscli.arguments.CLIArgument object at 0x7f2264f43b20>), ('storage-throughput', <awscli.arguments.CLIArgument object at 0x7f2264f43b50>), ('manage-master-user-password', <awscli.arguments.BooleanArgument object at 0x7f2264f43b80>), ('no-manage-master-user-password', <awscli.arguments.BooleanArgument object at 0x7f2264f43bb0>), ('master-user-secret-kms-key-id', <awscli.arguments.CLIArgument object at 0x7f2264f43be0>), ('ca-certificate-identifier', <awscli.arguments.CLIArgument object at 0x7f2264f43c10>)])2023-02-19 09:58:27,565 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.rds.create-db-instance: calling handler <function add_streaming_output_arg at 0x7f2265abf0d0>2023-02-19 09:58:27,565 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.rds.create-db-instance: calling handler <function add_cli_input_json at 0x7f226633d4c0>2023-02-19 09:58:27,565 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.rds.create-db-instance: calling handler <function add_cli_input_yaml at 0x7f226633d700>2023-02-19 09:58:27,565 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.rds.create-db-instance: calling handler <function unify_paging_params at 0x7f2265e50820>2023-02-19 09:58:27,577 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.10.1/dist/awscli/botocore/data/rds/2014-10-31/paginators-1.json2023-02-19 09:58:27,578 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.rds.create-db-instance: calling handler <function add_generate_skeleton at 0x7f2265b01670>2023-02-19 09:58:27,579 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.rds.create-db-instance: calling handler <bound method OverrideRequiredArgsArgument.override_required_args of <awscli.customizations.cliinput.CliInputJSONArgument object at 0x7f2264f43d00>>2023-02-19 09:58:27,579 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.rds.create-db-instance: calling handler <bound method OverrideRequiredArgsArgument.override_required_args of <awscli.customizations.cliinput.CliInputYAMLArgument object at 0x7f2264f43d30>>2023-02-19 09:58:27,579 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.rds.create-db-instance: calling handler <bound method GenerateCliSkeletonArgument.override_required_args of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x7f2264f43dc0>>2023-02-19 09:58:27,579 - MainThread - botocore.hooks - DEBUG - Event building-command-table.rds_create-db-instance: calling handler <function add_waiters at 0x7f2265a473a0>2023-02-19 09:58:27,579 - MainThread - botocore.hooks - DEBUG - Event building-command-table.rds_create-db-instance: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7f22657a0190>>2023-02-19 09:58:27,582 - MainThread - awscli.clidriver - DEBUG - Exception caught in main()Traceback (most recent call last):File "awscli/clidriver.py", line 460, in mainFile "awscli/clidriver.py", line 595, in callFile "awscli/clidriver.py", line 764, in callawscli.arguments.UnknownArgumentError: Unknown options: group, SubnetFollowComment"

Answer: "1Accepted AnswerThis is from your debug log above[  'rds',   'create-db-instance',   '--debug',   '--db-name', 'bookstack_db',   '--db-instance-identifier', 'Assignment2-rds',   '--allocated-storage', '5',   '--db-instance-class', 'db.m6i.large',   '--engine', 'mysql',   '--master-username', 'root',   '--master-user-password', 'password',   '--vpc-security-group-ids', 'sg-044926a269ca7870c',   '--db-subnet-group-name', 'RDS', 'Subnet', 'group'] You are passing multiple (3) values to the db-subnet-group-name parameter.I guess in the bash code where you fill $subnet_group_name you are getting an array.Regards, JaccoCommentShareJaccoPKanswered 3 months agorePost-User-5712443 3 months agoThank you!Share"


Question: Error when claiming Amazon Connect phone number

"Starting yesterday (7/3/2022), any time I attempt to request a number either through the Amazon Connect control panel or via an API, I receive an error message that reads "We couldn't claim your phone number.  Please try again.  If you need help, please contact AWS Support".  I have tried this with both DID and Toll-Free numbers and receive the same result.  I only have 3 numbers active (I had 5 but I released those), so I don't think it's a quota issue unless there is a wait between release and request.  Anyone have any suggestions?FollowComment"

Answer: 1Contact AWS Support for this issue. I had an error before that says I've reached the limit of phone numbers even though I have no phone numbers claimed yet in my Amazon Connect instances in any region. AWS Support was the one who fixed my issue.CommentSharejoahnaanswered a year ago


Question: EC2 instance just stopped working. What happened?

"Recently our running EC2 instance (t2.micro) failed and we weren't able to login anymore. Even though in the EC2 console it had Online Ping Status.So we had to Stop it and Start it again, which changed the IP address of the site, and caused some issues in our IoT online platform :(To understand what happened, I checked for that EC2 instance reports with different metrics, and I see in the exact moment when it stopped working, the CPU usage increased suddenly to 100% and Network In Data also increased in a very unusual way.This is a very high peak druing a minute, in a whole year and several months that it had been working with no single issue.Also the FailChecksum graph was high from that moment until we Stopped and Started the EC2 instance again.Graphs here:https://ibb.co/qsgPXXshttps://ibb.co/YhpQHmQhttps://ibb.co/MSYmN8gDo you have any idea of what could cause this anomaly?And which would be the way to find out exactly?Is is this a common issue?Thank you in advance for any help.FollowComment"

Answer: "1Have you tried using the Amazon Cloudwatch agent  to acquire more information? You might also try using Amazon Inspector if you suspect a malicious actor. Another option is to use an Application Performance Monitoring Tool if you cannot instrument your application, or Amazon X-Ray, if you can instrument your code.CommentShareRodney Lesteranswered a year ago1As you've already found, an EC2 instance launched in a Public Subnet can be assigned a public IP address but the association only lasts as long as the instance is running.  This is fine for testing/infrequent processing activities but not an advisable approach when running production/critical infrastructure.  I would recommend you associate an Elastic IP address with your instance which will allow you to retain the same IP across any future restart/termination events.It's also worth you reviewing the EC2 Best Practices to ensure your infrastructure is reliable and secure.CommentShareDaniel Craigieanswered a year ago"


Question: "Gate errors from an old job in a Rigetti device, from results.json"

"I am working with a copy of my s3 bucket in my local pc. Some of my files are results coming from experiments done in Rigetti for which I would like to do a post-processing analysis. I can see that the data, e.g. the counts, are essentially saved in the file results.json. From this file, is it possible to retrieve the gate errors that the device had at the time of running the jobs?FollowComment"

Answer: "1Thank you for this question!You cannot access historic calibration data (gate errors) via Amazon Braket today. This is true for all devices, including Rigetti's quantum processing units.If you send an email to braket-feedback@amazon.com with your use case including the date range then the Braket team can follow-up with you directly to see if there is any other way to assist and how to improve the product.CommentShareChristian_Manswered 3 months ago"


Question: Help with Hosted Website on EC2 to access Private API within same VPC

"Dear all,I built a VPC, and it has a hosted Website on EC2, and an API Gateway (Private).I realize that Private API can only be accessed by instances within the same VPC.When I open EC2 instance and connect, I can curl my API (within the terminal), however when I open my hosted website on EC2, it says ERR_NAME_NOT_RESOLVED.Additionally, my hosted website is using HTTP instead of HTTPS.I have HTTPS in my inbound rule, however it is not changing into HTTPS.Please kindly for the helpFollowComment"

Answer: "0Is your domain set up incorrectly?Have you correctly configured EC2 with a public domain?Also, how do you set up SSL certificates?CommentShareEXPERTRiku_Kobayashianswered a month ago0If I make the following assumptions:Your VPC is configured with various subnets either configured as public or private.Your EC2 instance is installed in one of the public subnets.From your description, it appears that your VPC, EC2 and API Gateway function are configured correctly.First I would ask the following questions:Is your EC2 instance have an Elastic IP address assigned to it?Do you have a domain that you have control over the DNS server for it?The issue you describe indicates that your EC2 instance doesn't have an Elastic IP and your DNS configuration is not set up (or hasn't propagated) yet.For your HTTP conversion, you would have to configure the webserver to redirect traffic from HTTP to HTTPS and have a valid SSL certificate.As an alternative, you could use the API gateway as a proxy to your EC2 instance and then apply the SSL certificate to the API Gateway..  This would also allow you to deploy your EC2 instance in a Private subnet and not need an Elastic IP address.Hope this helps,CommentShareCarlos del Castilloanswered a month ago"


Question: 550-x.x.x.x locally blacklisted for bruteforce auth (username+password) 550

The same email can be sent on a machine other than AWS. What is the situation? thank you!SERVER -> CLIENT: 550-x.x.x.x locally blacklisted for bruteforce auth (username+password)550 cracking attemptCLIENT -> SERVER: EHLO ip-x-x-x-xSERVER -> CLIENT:SMTP ERROR: EHLO command failed:SMTP NOTICE: EOF caught while checking if connectedSMTP connect() failed.Feedback from AWS:We have reviewed the IP address x.x.x.x and we can confirm that the email sending limit for port 25 have been lifted for the Singapore region.How can i deal with it? Thanks.FollowComment

Answer: 0Can anyone help? Thanks.CommentShareJapieanswered 3 years ago