Question: [Announcement] Amazon Location Service enables request-based pricing for all customer use cases

"Amazon Location Service now offers request-based pricing for all customer use cases, including those with asset-based applications. For instance, if a developer building a delivery application needs to find the positions (latitude/longitude) associated with delivery addresses, they can pay per address searched. With Amazon Location, there are no upfront fees, no required minimum commitments, and no long-term contracts. Now it’s even easier for developers to add location awareness to their asset-based applications.Amazon Location Service is a fully managed service that helps developers easily and securely add maps, points of interest, geocoding, routing, tracking, and geofencing to their applications without compromising on data quality, user privacy, or cost. With Amazon Location Service, you retain control of your location data, protecting your privacy and reducing enterprise security risks. Amazon Location Service provides a consistent API across high-quality location based service data providers (Esri and HERE), all managed through one AWS console.Amazon Location Service is available in the following AWS Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Frankfurt), Europe (Ireland), Europe (Stockholm), Asia Pacific (Singapore), Asia Pacific (Sydney) Region, and Asia Pacific (Tokyo).To learn more, visit the Amazon Location Service Pricing page.FollowCommentNguyen_M SUPPORT ENGINEERa year agoThis is an announcement migrated from AWS Forums that does not require an answerShare"


Question: "One of my customers cannot reach AWS hosted sites, it looks like their IP is being blocked. IP 185.228.200.85 example AWS sites www.juffrouwpollewop.nl and www.degrotekruising.nl"

"One of my customers ( www.carantegroep.nl ) cannot reach AWS hosted sites, it looks like their IP is being blocked.they use IP 185.228.200.85 to browse the internet.Example AWS sites www.juffrouwpollewop.nl and www.degrotekruising.nlFollowComment"

Answer: "0Greetings,Thank you for reaching out to AWS re:Post, I understand that you are having trouble with your customer accessing your hosted site.From my investigation there could be a problem with you IP addresses allowed to access your site through your Network Access Control List.To add or delete rules,Choose Network ACLs under VPC -> In details choose inbound rules and Edit -> Under rules choose HTTP -> In Source or Destination choose CIDR range of IP addresses or just the customer’s specific IP if you want -> Select ALLOW to allow specified traffic -> choose Save to finish adding your rulePlease take a look into this document for a deeper dive into your query. [1]Please contact if you have any further questions, or reach out to us via a support case to facilitate a discussion on the specifics of your resources.Hope you have a wonderful day.[1]Control traffic to subnets using Network ACLs - https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html#nacl-tasksCommentShareMatias_Danswered 10 months agoSUPPORT ENGINEERSumukhi_Previewed 10 months ago"


Question: "can we create route53 using aws cloudformation template,"

"Hi Team,i'm not able to able to create route53 using aws cloudformation template , but i'm able to create the records for an existing route53FollowComment"

Answer: "0What do you mean by not able to create Route53? Are you trying to create hosted zone?CommentSharenirajguruanswered a year ago0To create records for a Route53 Zone you need to use a RecordSetExample:Resources:  myDNSRecordHostedZone:     Type: "AWS::Route53::HostedZone"    Properties:       HostedZoneConfig:         Comment: 'My hosted zone for example.com'      Name: 'example.com'  Ec2Instance:    Type: AWS::EC2::Instance    Properties:      ImageId: !FindInMap [RegionMap, !Ref 'AWS::Region', AMI]  myDNSRecord:    Type: AWS::Route53::RecordSet    Properties:      HostedZoneName: !Ref 'myDNSRecordHostedZone' <<<< Passing Reference to R53 Hosted Zone.      Comment: DNS name for my instance.      Name: !Join ['', [!Ref 'Ec2Instance', ., !Ref 'AWS::Region', ., !Ref 'myDNSRecordHostedZone', .]]       Type: A      TTL: 900      ResourceRecords:      - !GetAtt Ec2Instance.PublicIpCommentShareMichael_Kanswered a year ago"


Question: List of Oracle on RDS Limitations and Restricted Permissions

"I have a client who is starting to use Oracle on RDS in preparation for a database migration.  They have become frustrated with the lack of SYSDBA access because it breaks a lot of their processes.For instance, they hit this issuehttps://forums.aws.amazon.com/thread.jspa?threadID=147862and had to grant select_any_catalog to their user to gain access to all the things they need but the do not like the possibly security implications that accompany that.The result of this is they have requested some documentation around the limitations of RDS Oracle specifically what things they can not do on RDS that they can do with Oracle on EC2.  So does anyone have such a list I can pass on to the client or some recommended reading for them other than http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.CommonDBATasks.htmlFollowComment"

Answer: 0Accepted AnswerI would also recommend the following: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Oracle.html#Oracle.Concepts.FeatureSupport and http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html.CommentShareAWS-User-ilyepanswered 7 years ago


Question: Directory Service - Create Authorization Store

Creating a new authorization store in AWS Directory Service as built-in "admin" account received "Access is denied" error. What are the steps to create authorization stores using AWS Directory Service?FollowComment

Answer: "0Hi,Thank you for contacting us! I understand that you are facing an authorization error while trying to create a directory in AWS Directory Service. Please correct me if I have misunderstood your query.Please refer to the following documentations to identify the permissions required to use the AWS Directory Service console and/or create the directory:[1] Using identity-based policies (IAM policies) for AWS Directory Service - https://docs.aws.amazon.com/directoryservice/latest/admin-guide/IAM_Auth_Access_IdentityBased.html[2] Using identity-based policies (IAM policies) for AWS Directory Service - Example 2: Allow a user to create a directory - https://docs.aws.amazon.com/directoryservice/latest/admin-guide/IAM_Auth_Access_IdentityBased.html#IAMPolicyExamples_DS_create_directoryThe following documentation lists the AWS Directory Service APIs and required permissions for each of those operations:[3] AWS Directory Service API permissions: Actions, resources, and conditions reference - https://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.htmlNote how the CreateDirectory call requires the following permissions:ds:CreateDirectory, ec2:DescribeSubnets, ec2:DescribeVpcs, ec2:CreateSecurityGroup, ec2:CreateNetworkInterface, ec2:DescribeNetworkInterfaces, ec2:AuthorizeSecurityGroupIngress, ec2:AuthorizeSecurityGroupEgress, ec2:CreateTagsSince you mentioned that you are creating the resource using an Admin account, I recommend checking for any denies from Service Control Policies as outlined in the following documentation:[4] https://aws.amazon.com/premiumsupport/knowledge-center/iam-access-denied-root-user/Depending on the type of directory being created, our documentation has instructions that you can follow:[5] Tutorial: Create a Simple AD directory - https://docs.aws.amazon.com/directoryservice/latest/admin-guide/simple_ad_tutorial_create.htmlIf you require assistance in troubleshooting this issue, I recommend creating a support case so we can discuss specifics on associated policies. Since re:Post is a public platform, please do not post any resource details here for security and privacy reasons.Thanks again for reaching out to us! Looking forward to hearing from you.CommentShareSUPPORT ENGINEERSumukhi_Panswered 7 months ago0Hello,I understand that you are unable to create a new authorisation store in AWS Managed Microsoft directory d-9d672c8d1e using Admin account with access denied error.I was able to reproduce the issue in my lab. I used the Admin account and opened AzMan.msc to create a new authorisation store in AD. If we use “CN=Program Data,DC=domain,DC=com” it will fail with access denied error. As you may be already aware that in AWS managed AD user does not have full control. Admin has the maximum allowed permissions.Further, I tried with customer managed OU however it also failed. Then I reviewed the Microsoft document [1] and observed it either has to be “CN=Program Data,DC=domain,DC=com” or another container inside an OU.In order to resolve the issue, you need to create a container inside the customer managed OU. Please refer to the below action plan.Action Plan:Login to the RSAT server using the Admin user.Open PowerShell as administrator.Run command —> (New-Guid).GuidNow run below PowerShell command. Please modify the NetBios name and domain names accordingly.New-ADObject -Name “Store” -Type Container -Path “OU=YourNetBIOSName,DC=YourDomainSuffix,DC=YourDomainRoot”Example: New-ADObject -Name “Store” -Type Container -Path “OU=fabrikam,DC=fabrikam,DC=com”The above command will create a container named Store inside the customer managed OU. Please note the customer managed OU is created with NetBios name of the domain.Run dsa.msc command and turn on Advanced Features by choosing View in the Active Directory Users and Computers tool, and then choosing Advanced Features.You should be able to see a container named Store under the customer managed OU.Now open AzMan.msc and click on create New Authorisation Store. In the Store Name filed choose the location of the container created in above steps.Example: In my lab, domain name is fabrikam.com  and NetBios name is Fabrikam. The container I created is Store. So the store name in AzMan has to be below.CN=test,CN=Store,OU=FABRIKAM,DC=Fabrikam,DC=comYou can replace CN=Test with any name you would like for the store.Thanks again for reaching out to us! Looking forward to hearing from you.References:[1] Creating an Active Directory Store.https://learn.microsoft.com/en-us/windows/win32/secauthz/creating-an-authorization-policy-store-object-in-script[2] How to Create a Container in AD.https://robinhobo.com/how-to-create-container-objects-in-active-directory-not-ous/CommentShareSUPPORT ENGINEERrePost-User-1133232answered 7 months ago"


Question: Unable to perform Exam AWS Certifification Exam due to Last Name

"Hi,Amazon TeamWhile giving the exam yesterday (26-Dec-2022) night at 10:00PM IST of AWS Cerification of Security SpecialityI was giving the exam from Pearson Vue. I used my Passport as my identification proof on which my firstname is Madheshwaran and lastname is  MariyappanAnd on my AWS profile my firstname is Madheshwaran and lastname is M .On 26th Dec Morning , I have raised a ticket to change my name in my account as I have exam scheduled on 26th Dec Night (10.00 PM IST)Before Exam even I'm not able to edit any of my perosonal information at AWS profile.The details of the Exam which I was proceeding yesterday night(26-Dec-2022 10.00PM)Exam: AWS Certified Security - Specialty (SCS-C01) - English (ENU)Candidate: Madheshwaran M  (as per AWS profile)Name As Per Govt ID : Madheshwaran MariyappanCandidate ID: AWS02636293Registration ID: 435154063Email-id: mr.madheshwaran@gmail.comI also mailed  to AWS Support to change the name but no response , so I was not able to perform exam.I have CaseID which Pearson Procter created CASEID-08980440.I request you to re-schedule the exam or initiate a refund so that I could proceed furthur.Kindly assist me.Thanks & Regards,MadheshFollowComment"

Answer: "0Please submit a ticket to the AWS Training & Certification customer support team, and they will provide assistance. If you already submitted a case, please allow at least 48 hrs to get a response.CommentShareNelliT-AWSanswered 5 months ago"


Question: Timed out when trying to access the public IP of my EC2 instance in a browser

"Hello everyone,as a complete beginner in AWS, I'm following a coursera course for AWS beginners.One of the first exercises is to create a EC2 instance via the AWS console. They provide us with a little script that boots up on an app on the virtual machine, and should then be accessible with an HTTP call on the public IP. I don't what's exactly going on but it seems that the page is loading forever and then times out when I try to access it on a web browser at the address http://<public-ip-address>Does anyone know what could be going on ? Here are the details of the EC2 instance I've launched :Amazon Linux AMIt2.microHTTP protocol (source: everywhere)I've configured a key pairdefault VPCchose first subnetI also have an error when trying to use EC2 Instance Connect. (maybe because I have only configured HTTP and not SSH)Failed to connect to your instanceEC2 Instance Connect is unable to connect to your instance. Ensure your instance network settings are configured correctly for EC2 Instance Connect. For more information, see Set up EC2 Instance Connect at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html.If anyone could help me debug this, that would be really helpful.Thank you for reading me !FollowComment"

Answer: "1Make sure you launched the instance in a public subnet. If you did not, you will need to deploy another instance in the public subnet.CommentShareEXPERTkentradanswered 2 months agoflorentdrousset 2 months agoThank you for your answer ! I've added the details of the VPC and subnet as a screenshot in my question. I'm not sure if it's public or not actually.Sharekentrad EXPERT2 months agoOK. Go to VPC Dashboard and click on Subnets and find that subnet. Click on the Route Table tab under the details of the subnet and look for a route like, this: Destination 0.0.0.0/0, Target igw-xxxxxxxxxxxx. If you don't see that rule, it is a private subnet. Find a subnet in that VPC that has that rule and deploy to that subnet.Shareflorentdrousset 2 months agoI've updated my original post again with another screenshot. It seems that the target seems to be "igw-xxxxxxxxxxxx", but the IP is not 0.0.0.0 if I read correctly.Sharekentrad EXPERT2 months agoThe routing looks correct. Can you now check the security group that is attached to the instance? There should be two rules, one for SSH and one for HTTP.Share"


Question: WebRTC stream recording to S3

Hello!Want to store webRTC(webm) stream to S3 or KVS.Did this by uploading 1min chunk directly to S3 and merge the stream using MediaConvert.Is there any way which could do this more efficiently?Thank you.FollowComment

Answer: "1Accepted AnswerI would suggest two options:Stream into Kinesis Video Stream.KVS uses Amazon S3 as the underlying data store, which means you can set and control retention periods on a per-stream basis for a limited time period or indefinitely. You can change the stream retention period at any point.You can retrieve the video using the GetMedia API:https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_GetMedia.htmlhttps://github.com/aws/amazon-kinesis-video-streams-parser-library#kinesisvideoexampleAutomate the S3 part wtih AWS Elemental MediaConvertYou can setup an assembly workflow job and stitch together multiple inputs filehttps://docs.aws.amazon.com/mediaconvert/latest/ug/assembling-multiple-inputs-and-input-clips.htmlHowever, there are other options (e.g. AWS Marketplace or KVS consumers) but I would explore the above first.CommentShareNicola Pietroluongoanswered 3 years ago"


Question: Medialive SCTE 35 HLS to RTP / FEC Not Working

"Hi Forum !Working hard to get Media Live to ingest the SCTE triggers from the Manifest and pass the cue out as part of the RTP FEC transport Stream. So far no luck.Worked off of this document. https://docs.aws.amazon.com/medialive/latest/ug/scte-35-passthrough-or-removal.html Is anyone aware of additional documentation. The cues are there I see them in the child manifest. Medialive just does not seem to want to grab them and push them back out.Here is my XML is anyone is inclined to be a hero and help with this. I am out of ideas.Bruce{"name": "billiards-scte-hls-pull","id": "5218460","arn": "arn:aws:medialive:us-east-1xxxxxxx6175:channel:5218460","inputAttachments": [{  "inputAttachmentName": "HLS SCTE Pull Test",  "inputSettings": {    "networkInputSettings": {      "hlsInputSettings": {        "retries": 100,        "retryInterval": 2,        "bufferSegments": 5,        "scte35Source": "MANIFEST"      },      "serverValidation": "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME"    },    "sourceEndBehavior": "CONTINUE",    "inputFilter": "AUTO",    "filterStrength": 1,    "deblockFilter": "DISABLED",    "denoiseFilter": "DISABLED",    "smpte2038DataPreference": "IGNORE",    "audioSelectors": [],    "captionSelectors": []  }}],"state": "RUNNING","pipelinesRunningCount": 1,"destinations": [{"id": "f3qc1l","settings": [{"url": "rtp://3.224.xx.xx:5000" (xx intended)}],"mediaPackageSettings": []}],"egressEndpoints": [{"sourceIp": "44.196.127.93"}],"encoderSettings": {"audioDescriptions": [{"codecSettings": {"mp2Settings": {"codingMode": "CODING_MODE_2_0","bitrate": 192000,"sampleRate": 48000}},"audioTypeControl": "FOLLOW_INPUT","languageCodeControl": "FOLLOW_INPUT","name": "audio_02dz7"}],"captionDescriptions": [],"outputGroups": [{"outputGroupSettings": {"udpGroupSettings": {"inputLossAction": "EMIT_PROGRAM","timedMetadataId3Period": 10,"timedMetadataId3Frame": "PRIV"}},"outputs": [{"outputSettings": {"udpOutputSettings": {"destination": {"destinationRefId": "f3qc1l"},"bufferMsec": 2000,"fecOutputSettings": {"includeFec": "COLUMN_AND_ROW","columnDepth": 10,"rowLength": 10},"containerSettings": {"m2tsSettings": {"ccDescriptor": "DISABLED","ebif": "NONE","nielsenId3Behavior": "NO_PASSTHROUGH","programNum": 1,"patInterval": 100,"pmtInterval": 100,"pcrControl": "PCR_EVERY_PES_PACKET","pcrPeriod": 40,"timedMetadataBehavior": "PASSTHROUGH","bufferModel": "MULTIPLEX","rateMode": "CBR","audioBufferModel": "ATSC","audioStreamType": "DVB","audioFramesPerPes": 2,"segmentationStyle": "MAINTAIN_CADENCE","segmentationMarkers": "NONE","ebpPlacement": "VIDEO_AND_AUDIO_PIDS","ebpAudioInterval": "VIDEO_INTERVAL","esRateInPes": "EXCLUDE","arib": "DISABLED","aribCaptionsPidControl": "AUTO","absentInputAudioBehavior": "ENCODE_SILENCE","pmtPid": "480","videoPid": "481","audioPids": "482","dvbTeletextPid": "499","dvbSubPids": "460-479","scte27Pids": "450-459",** "scte35Pid": "500","scte35Control": "PASSTHROUGH",**"klv": "NONE","klvDataPids": "501","timedMetadataPid": "502","etvPlatformPid": "504","etvSignalPid": "505","aribCaptionsPid": "507"}}}},"outputName": "f3qc1l","videoDescriptionName": "video_uqv535","audioDescriptionNames": ["audio_02dz7"],"captionDescriptionNames": []}]}],"timecodeConfig": {"source": "EMBEDDED"},"videoDescriptions": [{"codecSettings": {"h264Settings": {"afdSignaling": "NONE","colorMetadata": "INSERT","adaptiveQuantization": "AUTO","bitrate": 6000000,"entropyEncoding": "CABAC","flickerAq": "ENABLED","forceFieldPictures": "DISABLED","framerateControl": "SPECIFIED","framerateNumerator": 60000,"framerateDenominator": 1001,"gopBReference": "DISABLED","gopClosedCadence": 1,"gopNumBFrames": 5,"gopSize": 2,"gopSizeUnits": "SECONDS","subgopLength": "FIXED","scanType": "PROGRESSIVE","level": "H264_LEVEL_AUTO","lookAheadRateControl": "MEDIUM","numRefFrames": 1,"parControl": "SPECIFIED","parNumerator": 1,"parDenominator": 1,"profile": "HIGH","rateControlMode": "CBR","syntax": "DEFAULT","sceneChangeDetect": "ENABLED","slices": 5,"spatialAq": "ENABLED","temporalAq": "ENABLED","timecodeInsertion": "DISABLED"}},"height": 720,"name": "video_uqv535","respondToAfd": "NONE","sharpness": 50,"scalingBehavior": "DEFAULT","width": 1280}]},"inputSpecification": {"codec": "AVC","resolution": "HD","maximumBitrate": "MAX_10_MBPS"},"logLevel": "DISABLED","tags": {},"channelClass": "SINGLE_PIPELINE","pipelineDetails": [{"pipelineId": "0","activeInputAttachmentName": "","activeInputSwitchActionName": "","activeMotionGraphicsUri": "","activeMotionGraphicsActionName": ""}],"maintenanceWindow": "MONDAY_2200","maintenanceStatus": "","maintenance": {"maintenanceDay": "MONDAY","maintenanceStartTime": "22:00"}}FollowComment"

Answer: "0Hi Bruce,The first thing to do is to try enabling logging on your channel in order to confirm that the incoming SCTE messages are being processed correctly. Your config currently has the LogLevel set to "DISABLED" for testing I suggest using "INFO" or "DEBUG" to get the most information into your logstream in CloudWatch. When the manifest decorations are read by MediaLive you should see logging information presented which may give a clue as to what is not working as expected.Regards,SteveCommentShareSteve_Wanswered 10 months ago0Perfect Steve. Doing that now. Will get back to you shortly. Thank you so much for the prompt reply.CommentShareB-Wilkinsonanswered 10 months ago0Have been working now for a number of days and I have to say that I have concluded that Media Live Pulling an HLS with SCTE information to UDP RTP out does not work. Unless I can see an example of it actually in production I have to conclude it is not a viable and the scte information must be present in the segments. The manifest alone is insufficient.CommentShareB-Wilkinsonanswered 10 months ago0Hi B-Wilkinson,Please confirm the format of the manifest decorations matches the supported configurations listed in the documentation: https://docs.aws.amazon.com/medialive/latest/ug/scte35-getting-ready-source.html#scte35-get-ready-source-supportIf they are matching and you are able to open a support case please do so as we expect this to work.Regards,SteveCommentShareSteve_Wanswered 10 months ago0Thanks Steve. We spend a great deal of time with an AWS Lead on the subject with no success.We are parsed correctly. Example follows.#EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:6#EXT-X-MEDIA-SEQUENCE:266613#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:57:26.000ZBILLIARDTV_v4_seg-266613.ts#EXTINF:3.733333,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:57:32.000ZBILLIARDTV_v4_seg-266614.ts#EXT-X-DISCONTINUITY#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:57:35.733ZBILLIARDTV_v4_seg-266615.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:57:41.733Z#EXT-X-CUE-OUT:120.00BILLIARDTV_v4_seg-266616.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:57:47.733Z#EXT-X-CUE-OUT-CONT:6/120BILLIARDTV_v4_seg-266617.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:57:53.733Z#EXT-X-CUE-OUT-CONT:12/120BILLIARDTV_v4_seg-266618.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:57:59.733Z#EXT-X-CUE-OUT-CONT:18/120BILLIARDTV_v4_seg-266619.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:05.733Z#EXT-X-CUE-OUT-CONT:24/120BILLIARDTV_v4_seg-266620.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:11.733Z#EXT-X-CUE-OUT-CONT:30/120BILLIARDTV_v4_seg-266621.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:17.733Z#EXT-X-CUE-OUT-CONT:36/120BILLIARDTV_v4_seg-266622.ts#EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:6#EXT-X-MEDIA-SEQUENCE:266620#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:05.733Z#EXT-X-CUE-OUT-CONT:24/120BILLIARDTV_v4_seg-266620.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:11.733Z#EXT-X-CUE-OUT-CONT:30/120BILLIARDTV_v4_seg-266621.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:17.733Z#EXT-X-CUE-OUT-CONT:36/120BILLIARDTV_v4_seg-266622.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:23.733Z#EXT-X-CUE-OUT-CONT:42/120BILLIARDTV_v4_seg-266623.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:29.733Z#EXT-X-CUE-OUT-CONT:48/120BILLIARDTV_v4_seg-266624.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:35.733Z#EXT-X-CUE-OUT-CONT:54/120BILLIARDTV_v4_seg-266625.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:41.733Z#EXT-X-CUE-OUT-CONT:60/120BILLIARDTV_v4_seg-266626.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:47.733Z#EXT-X-CUE-OUT-CONT:66/120BILLIARDTV_v4_seg-266627.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:53.733Z#EXT-X-CUE-OUT-CONT:72/120BILLIARDTV_v4_seg-266628.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:59.733Z#EXT-X-CUE-OUT-CONT:78/120BILLIARDTV_v4_seg-266629.ts#EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:6#EXT-X-MEDIA-SEQUENCE:266621#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:11.733Z#EXT-X-CUE-OUT-CONT:30/120BILLIARDTV_v4_seg-266621.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:17.733Z#EXT-X-CUE-OUT-CONT:36/120BILLIARDTV_v4_seg-266622.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:23.733Z#EXT-X-CUE-OUT-CONT:42/120BILLIARDTV_v4_seg-266623.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:29.733Z#EXT-X-CUE-OUT-CONT:48/120BILLIARDTV_v4_seg-266624.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:35.733Z#EXT-X-CUE-OUT-CONT:54/120BILLIARDTV_v4_seg-266625.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:41.733Z#EXT-X-CUE-OUT-CONT:60/120BILLIARDTV_v4_seg-266626.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:47.733Z#EXT-X-CUE-OUT-CONT:66/120BILLIARDTV_v4_seg-266627.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:53.733Z#EXT-X-CUE-OUT-CONT:72/120BILLIARDTV_v4_seg-266628.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:59.733Z#EXT-X-CUE-OUT-CONT:78/120BILLIARDTV_v4_seg-266629.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:05.733Z#EXT-X-CUE-OUT-CONT:84/120BILLIARDTV_v4_seg-266630.ts#EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:6#EXT-X-MEDIA-SEQUENCE:266624#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:29.733Z#EXT-X-CUE-OUT-CONT:48/120BILLIARDTV_v4_seg-266624.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:35.733Z#EXT-X-CUE-OUT-CONT:54/120BILLIARDTV_v4_seg-266625.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:41.733Z#EXT-X-CUE-OUT-CONT:60/120BILLIARDTV_v4_seg-266626.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:47.733Z#EXT-X-CUE-OUT-CONT:66/120BILLIARDTV_v4_seg-266627.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:53.733Z#EXT-X-CUE-OUT-CONT:72/120BILLIARDTV_v4_seg-266628.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:59.733Z#EXT-X-CUE-OUT-CONT:78/120BILLIARDTV_v4_seg-266629.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:05.733Z#EXT-X-CUE-OUT-CONT:84/120BILLIARDTV_v4_seg-266630.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:11.733Z#EXT-X-CUE-OUT-CONT:90/120BILLIARDTV_v4_seg-266631.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:17.733Z#EXT-X-CUE-OUT-CONT:96/120BILLIARDTV_v4_seg-266632.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:23.733Z#EXT-X-CUE-OUT-CONT:102/120BILLIARDTV_v4_seg-266633.ts#EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:6#EXT-X-MEDIA-SEQUENCE:266625#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:35.733Z#EXT-X-CUE-OUT-CONT:54/120BILLIARDTV_v4_seg-266625.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:41.733Z#EXT-X-CUE-OUT-CONT:60/120BILLIARDTV_v4_seg-266626.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:47.733Z#EXT-X-CUE-OUT-CONT:66/120BILLIARDTV_v4_seg-266627.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:53.733Z#EXT-X-CUE-OUT-CONT:72/120BILLIARDTV_v4_seg-266628.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:59.733Z#EXT-X-CUE-OUT-CONT:78/120BILLIARDTV_v4_seg-266629.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:05.733Z#EXT-X-CUE-OUT-CONT:84/120BILLIARDTV_v4_seg-266630.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:11.733Z#EXT-X-CUE-OUT-CONT:90/120BILLIARDTV_v4_seg-266631.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:17.733Z#EXT-X-CUE-OUT-CONT:96/120BILLIARDTV_v4_seg-266632.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:23.733Z#EXT-X-CUE-OUT-CONT:102/120BILLIARDTV_v4_seg-266633.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:29.733Z#EXT-X-CUE-OUT-CONT:108/120BILLIARDTV_v4_seg-266634.ts#EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:6#EXT-X-MEDIA-SEQUENCE:266626#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:41.733Z#EXT-X-CUE-OUT-CONT:60/120BILLIARDTV_v4_seg-266626.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:47.733Z#EXT-X-CUE-OUT-CONT:66/120BILLIARDTV_v4_seg-266627.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:53.733Z#EXT-X-CUE-OUT-CONT:72/120BILLIARDTV_v4_seg-266628.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:59.733Z#EXT-X-CUE-OUT-CONT:78/120BILLIARDTV_v4_seg-266629.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:05.733Z#EXT-X-CUE-OUT-CONT:84/120BILLIARDTV_v4_seg-266630.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:11.733Z#EXT-X-CUE-OUT-CONT:90/120BILLIARDTV_v4_seg-266631.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:17.733Z#EXT-X-CUE-OUT-CONT:96/120BILLIARDTV_v4_seg-266632.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:23.733Z#EXT-X-CUE-OUT-CONT:102/120BILLIARDTV_v4_seg-266633.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:29.733Z#EXT-X-CUE-OUT-CONT:108/120BILLIARDTV_v4_seg-266634.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:35.733Z#EXT-X-CUE-OUT-CONT:114/120BILLIARDTV_v4_seg-266635.ts#EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:6#EXT-X-MEDIA-SEQUENCE:266627#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:47.733Z#EXT-X-CUE-OUT-CONT:66/120BILLIARDTV_v4_seg-266627.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:53.733Z#EXT-X-CUE-OUT-CONT:72/120BILLIARDTV_v4_seg-266628.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:59.733Z#EXT-X-CUE-OUT-CONT:78/120BILLIARDTV_v4_seg-266629.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:05.733Z#EXT-X-CUE-OUT-CONT:84/120BILLIARDTV_v4_seg-266630.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:11.733Z#EXT-X-CUE-OUT-CONT:90/120BILLIARDTV_v4_seg-266631.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:17.733Z#EXT-X-CUE-OUT-CONT:96/120BILLIARDTV_v4_seg-266632.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:23.733Z#EXT-X-CUE-OUT-CONT:102/120BILLIARDTV_v4_seg-266633.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:29.733Z#EXT-X-CUE-OUT-CONT:108/120BILLIARDTV_v4_seg-266634.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:35.733Z#EXT-X-CUE-OUT-CONT:114/120BILLIARDTV_v4_seg-266635.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:41.733Z#EXT-X-CUE-INBILLIARDTV_v4_seg-266636.ts#EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:6#EXT-X-MEDIA-SEQUENCE:266628#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:53.733Z#EXT-X-CUE-OUT-CONT:72/120BILLIARDTV_v4_seg-266628.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:58:59.733Z#EXT-X-CUE-OUT-CONT:78/120BILLIARDTV_v4_seg-266629.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:05.733Z#EXT-X-CUE-OUT-CONT:84/120BILLIARDTV_v4_seg-266630.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:11.733Z#EXT-X-CUE-OUT-CONT:90/120BILLIARDTV_v4_seg-266631.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:17.733Z#EXT-X-CUE-OUT-CONT:96/120BILLIARDTV_v4_seg-266632.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:23.733Z#EXT-X-CUE-OUT-CONT:102/120BILLIARDTV_v4_seg-266633.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:29.733Z#EXT-X-CUE-OUT-CONT:108/120BILLIARDTV_v4_seg-266634.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:35.733Z#EXT-X-CUE-OUT-CONT:114/120BILLIARDTV_v4_seg-266635.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:41.733Z#EXT-X-CUE-INBILLIARDTV_v4_seg-266636.ts#EXTINF:6.000000,#EXT-X-PROGRAM-DATE-TIME:2022-07-27T13:59:47.733ZBILLIARDTV_v4_seg-266637.tsCommentShareB-Wilkinsonanswered 10 months ago0Steve,We appreciate your prompt reply and confidence that this should work and we will endeavor tofind out why it is not.BruceCommentShareB-Wilkinsonanswered 10 months ago0Oddly enough the log, in debug mode, is showing nothing to reflect the SCTE cues. The RTP FEC out looks fine.DeletedCommentShareB-Wilkinsonanswered 10 months ago0With recent AWS changes made we are now seeing SCTE Marker pass though to RTP FEC. We see them in the analyzer and they look well formed. The challenge now is the Pre Roll for them is less than the required 4 seconds. I offset that some by the changing the avail time in Media Live to the max of 1000ms. We now have a pre roll of 1 second which the client will not accept. Any thoughts to changing the avail off set to a higher value?CommentShareB-Wilkinsonanswered 6 months ago"


Question: How SQS Resilience works?

"How many availability zones SQS uses for replicating the messages?Replicating the messages to multiple availability zones is automatically activated or a manual process?How many regions SQS uses for replicating the messages?Replicating the messages to multiple regions is automatically activated or a manual process?Where can I see the availability zones, replicate availability zones, regions, and replicate regions information related to SQS?FollowComment"

Answer: "4Accepted Answer1. How many availability zones SQS uses for replicating the messages?→ Based on the SQS SAQ here [A]:Amazon SQS stores all message queues and messages within a single, highly-available AWS region with multiple redundant Availability Zones (AZs), so that no single computer, network, or AZ failure can make messages inaccessible.Information about how many AZs a particular queue will be replicated to or which are those is not available to view directly.2. Replicating the messages to multiple availability zones is automatically activated or a manual process?→ Automatic3. How many regions SQS uses for replicating the messages?→ Single region. SQS queues cannot be shared between different regions.4. Replicating the messages to multiple regions is automatically activated or a manual process?→ N/A5. Where can I see the availability zones, replicate availability zones, regions, and replicate regions information related to SQS?→ You cannot see this information on your end, about which AZ a particular queue is replicated to, and etc. However, if you generally want to look up AZs of a particular region, you can run the following CLI command (change regions as needed):aws ec2 describe-availability-zones —region us-east-1CommentShareGovind Kumaranswered a month agoEXPERTBrettski-AWSreviewed a month ago"


Question: How to setup a secure Back Up policy using S3 bucket to store Wordpress data (wp-content/) to glacier or something similar.

"I'm moving a set of 10 domains from a single EC2 with Plesk (a) to single EC2 instances with the WordPress AMI installed (b).  Those sites are 25/40GB each.To avoid creating huge EBS drives for each instance I'm going to offload the wp-content/ folder straight to S3.How could run a safe S3 Lifecycle policy to store all the data in a safe place? (maybe Glacier)like incremental 6 days a week and 1 complete snapshot the 7th day, plus 1 full snapshot each week for a month.Is it a safe idea or does not make any sense?The idea behind is to reduce storages costs of my first configuration (a). Any feedback or suggestion is more than welcome.thank youFollowComment"

Answer: "1Accepted AnswerHi ThereYou can also consider using a managed filesystem like Amazon EFS to store the data instead of S3 or EBS. Take a look at the WordPress on AWS Reference Architecturehttps://docs.aws.amazon.com/whitepapers/latest/best-practices-wordpress/reference-architecture.htmlTo answer your question, you can use AWS Backup to create backups of your S3 bucket and a lifecycle policy to transition objects to other storage classes like Glacier.  See https://docs.aws.amazon.com/aws-backup/latest/devguide/s3-backups.htmlWith AWS Backup, you can create the following types of backups of your S3 buckets, including object data, tags, Access Control Lists (ACLs), and user-defined metadata:    Continuous backups, allowing you to restore to any point in time within the last 35 days. Continuous backups for an S3 bucket should only be configured in one backup plan.    See Point-in-Time Recovery for a list of supported services and instructions on how to use AWS Backup to take continuous backups.    Periodic backups, which allow you to retain data for your specified duration, including indefinitely. You can schedule periodic backups in frequencies such as 1 hour, 12 hours, 1 day, 1 week, or 1 month. AWS Backup takes periodic backups during the backup window you define in your backup plan.    See Creating a backup plan to understand how AWS Backup applies your backup plan to your resources.CommentShareEXPERTMatt-Banswered 9 months agoentalpia 9 months agoThank you for your answer and suggestion.I was aware of the guidelines but I didn't know about the EFS.Now it seems pretty clear to me.Thank you.ps, the architecture shows a single domain that grows in terms of resources/instances according to user requests/load/region. I will adapt this to a single EC2 per domain behind a single LB, I hope it will work fine.Share"


Question: Can Greengrass use a Lambda in the Core if needed?

I have an AWS Lambda running on my AWS Greengrass which is the same Lambda I have in the AWS Lambda Core. My question is whether or not I can use the AWS Core to scale my edge capacity horizontally if needed so.My application is a machine learning application that runs on Greengrass in the edge inside an on-premise IoT server. Can I use Greengrass to forward the request/streams of data to the AWS core so it can use the same Lambda in the Core when the edge capacity is max out?FollowComment

Answer: "0Hi  jaimedantas,Could you tell us a little more about your use case and setup? A lambda function running on a Greengrass Core device can be made on-demand which runs when it receives work items and Greengrass runs multiple instances for it if there are more work items to be processed simultaneously. If your scale can be easily managed by the hardware for your IoT edge server(Greengrass Core), this will be may be sufficient for you. https://docs.aws.amazon.com/greengrass/v2/developerguide/import-lambda-function-console.htmlGreengrass also provides the aws.greengrass.StreamManager component for data streaming use cases which you can use to stream data to cloud https://docs.aws.amazon.com/greengrass/v2/developerguide/stream-manager-component.html.Scaling lambda function horizontally in cloud when a single Greengrass Core device cannot handle the workload is not supported natively, but you may be able to route data/messages from the Greengrass device to cloud lambda function on your own or setup multiple Greengrass Cores on the edge to handle high workload.Thanks,ShaguptaCommentShareshagupta-awsanswered 2 years ago"


Question: Do we need VPC Endpoints for SNS and SQS if data not originating from any VPC and directly landing in SNS from external source

"I am working on a data push mechanism wherein im trying to push data to SNS externally (outside aws boundary). Then its been pushed to SQS from SNS then using trigger it comes to Lambda function where we process it and push it finally into DynamoDB table.  Now i have been asked to use VPC Endpoints where ever possible. Getting little bit confused whether we need any VPC Endpoint in this scenario. Because neither SNS nor SQS is within any VPC then how come SNS or SQS endpoints going to be useful here.  Please suggest whether we need endpoints here for SNS, SQS, Lambda and dynamo db. I know Lambda does uses micro ec2 instance for each of its worker. please suggest for this as well.Thanks in advance.FollowComment"

Answer: "3You're spot on!It's important to remember that some resources are not tied to a traditional network boundary.For example:Lambda (if deployed within a VPC), EC2, RDS would all have VPC components tied to them such as Subnets, Security Groups.SNS, SQS, DynamoDB, etc do not have traditional VPC components associated with them.Now.  If your resources are within/tied to a VPC (Lambda, EC2 come to mind), and need to communicate with a service - you can then use a VPC Endpoint to allow direct connection over the AWS backbone to connect to the service.  That's where the VPC endpoints will come into play.  Keep in mind that depending on your company's structure, you may need to use a NAT Gateway to connect outbound to other things (for example google.com).In this use case, VPC Endpoints can often be the most direct path.  However, if your resources are not configured within a VPC (for example, a Lambda without a VPC), no such endpoints are needed.Check out: https://docs.aws.amazon.com/vpc/latest/privatelink/vpce-interface.html.Endpoint Policy information: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-access.htmlAWS Services that support Privatelink: https://docs.aws.amazon.com/vpc/latest/privatelink/integrated-services-vpce-list.htmlCommentSharejsoncanswered a year agoAnwarM a year agoThanks @jsonc for your answer. I really appreciate that. Believe me, before asking this question here, I have gone through a lot. What you have suggested is absolutely correct.Please help me further on this:I have created Lambda function (and all other services) through Cloud formation templates and not in any VPC. So, would it be a good practice to create it in some non-default VPC and then use endpoints to connect Dynamo DB table?If we dont need VPC endpoints for SNS and SQS (off course in my case here), what would be the best way of interaction between then in terms of security ? I have followed the basic way which is mentioned in the aws docs.Thanks in advanceShare1I'm not 100% clear what you want to do, anyway VPC Endpoints are used to connect to AWS services from inside a VPC without using public traffic.https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.htmlI don't know how is publishing SNS, but it looks it's something outside AWS.So in your case it seems to be something like this:{External to AWS} -> SNS -> SQS -> Lambda -> DynamoDBFor obvious reasons External to AWS to SNS is via public traffic (the normal internet)The traffic between SNS and SQS and between SQS and Lambda is fully managed by AWS, so no much you can do there.Once the event arrives in Lambda you can have 2 solutions:Lambda is deployed not in a VPC, and so the traffic between Lambda and DynamoDB is via public trafficLambda is deployed in a VPC and you want to use VPC Endpoint (Gateway endpoint) to DynamoDB, in this case the traffic is kept internally to the VPC.Be aware that if you deploy your Lambda in a VPC you have some other restrictions, like that lambda won't have direct access to the internet and you would need a NAT in your VPC for the lambda to access internet.CommentShareMikianswered a year ago"


Question: LUA noob question. How do you create a simple delay with LUA....like the delay node in script canvas does

Follow

Answer: "0Accepted AnswerI'm not sure if this is what you are trying to do. I have not tested this code out but it delays the thrust after the animation is played based on the amount of time you put in your Delay Property.I pray it works.REMOVEDUPLOADSharerePost-User-7620461answered 5 years ago0local movement ={Properties ={jmp = {default = 500.0},cam_z = {default = EntityId()},cam_y = {default = EntityId()},is_moving = false,in_air = false,timer = {default = .5, description = "timer for jump"},has_waited = false,walking_bw = false,roll = false,fight = false,is_jumping = false,}}function movement:OnActivate()self.tickBusHandler = TickBus.Connect(self)self.timer = 0 --self.Properties.timerself.fbBusId = InputEventNotificationId("fb");self.fbBus = InputEventNotificationBus.Connect(self, self.fbBusId);self.lrBusId = InputEventNotificationId("lr"); self.lrBus = InputEventNotificationBus.Connect(self, self.lrBusId);self.mouse_x_bus_id = InputEventNotificationId("mouse_x");self.mouse_x_bus = InputEventNotificationBus.Connect(self, self.mouse_x_bus_id);self.mouse_y_bus_id = InputEventNotificationId("mouse_y"); self.mouse_y_bus = InputEventNotificationBus.Connect(self, self.mouse_y_bus_id);self.jump_bus_id = InputEventNotificationId("jump");self.jump_bus = InputEventNotificationBus.Connect(self, self.jump_bus_id);self.rollBusId = InputEventNotificationId("roll");self.rollBus = InputEventNotificationBus.Connect(self, self.rollBusId);self.fightBusId = InputEventNotificationId("fight");self.fightBus = InputEventNotificationBus.Connect(self, self.fightBusId);endfunction movement:OnHeld(floatValue)local current_bus = InputEventNotificationBus.GetCurrentBusId()if ((current_bus == self.fbBusId) and (floatValue < 0)) thenwalking_bw = trueelseif ((current_bus == self.fbBusId) and (floatValue > 0)) thenwalking_bw = falseendend if current_bus == self.fbBusId then is_moving = trueAnimGraphComponentRequestBus.Event.SetNamedParameterFloat(self.entityId, "speed", floatValue); endif ((is_moving == true) and (current_bus == self.mouse_x_bus_id)) thenTransformBus.Event.RotateAroundLocalZ(self.entityId, -floatValue * .002);elseif ((is_moving == false) and (current_bus == self.mouse_x_bus_id)) thenTransformBus.Event.RotateAroundLocalZ(self.Properties.cam_z, -floatValue * .002);endendif current_bus == self.mouse_y_bus_id thenTransformBus.Event.RotateAroundLocalX(self.Properties.cam_y, -floatValue * .002);endif ((walking_bw == true) and (current_bus == self.lrBusId)) thenAnimGraphComponentRequestBus.Event.SetNamedParameterFloat(self.entityId, "direction", -floatValue);elseif ((walking_bw == false) and (current_bus == self.lrBusId)) thenAnimGraphComponentRequestBus.Event.SetNamedParameterFloat(self.entityId, "direction", floatValue);endendendfunction movement:OnPressed(floatValue)local current_bus = InputEventNotificationBus.GetCurrentBusId()if current_bus == self.jump_bus_id thenself.timer = self.Properties.timerAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "jump", true)if (self.Properties.has_waited == true) thenPhysicsComponentRequestBus.Event.AddImpulse(self.entityId, Vector3(0,0,self.Properties.jmp)); -------------------------------------------------------------------------------self.Properties.has_waited = falseendendif current_bus == self.rollBusId thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "roll", true)endif current_bus == self.fightBusId thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "fight", true)endendfunction movement:OnReleased(floatValue)local current_bus = InputEventNotificationBus.GetCurrentBusId()if current_bus == self.fbBusId thenis_moving = false;endif current_bus == self.fbBusId thenAnimGraphComponentRequestBus.Event.SetNamedParameterFloat(self.entityId, "speed", floatValue);endif current_bus == self.lrBusId thenAnimGraphComponentRequestBus.Event.SetNamedParameterFloat(self.entityId, "direction", floatValue);endif current_bus == self.jump_bus_id thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "jump", false);endif current_bus == self.rollBusId thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "roll", false);endif current_bus == self.fightBusId thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "fight", false);endendfunction movement:OnTick(deltaTime)local cam_y_loc = TransformBus.Event.GetLocalY(self.Properties.cam_y)local cam_z_rot = TransformBus.Event.GetLocalRotation(self.Properties.cam_z)local player_rot = TransformBus.Event.GetWorldRotation(self.entityId)local pi = 3.14----auto camera zoom if cam_y_loc > -1 then cam_y_loc = -1 -- clampendif cam_y_loc < -3 then cam_y_loc = -3 --clampendif is_moving == true thenTransformBus.Event.SetLocalY(self.Properties.cam_y, cam_y_loc -.01) --zoom outendif is_moving == false thenTransformBus.Event.SetLocalY(self.Properties.cam_y, cam_y_loc +.02) --zoom inend----auto camera correctif is_moving == true and cam_z_rot.z > pi and cam_z_rot.z < 6.25 then TransformBus.Event.RotateAroundLocalZ(self.Properties.cam_z,.02)endif is_moving == true and cam_z_rot.z < pi and cam_z_rot.z > .03 thenTransformBus.Event.RotateAroundLocalZ(self.Properties.cam_z,-.02)Debug.Log("things" ..tostring(cam_z_rot)) end----in airlocal config = RayCastConfiguration()local worldPosition = TransformBus.Event.GetWorldTM(self.entityId)config.origin = worldPosition:GetTranslation()config.direction = Vector3(0.0, 0.0,-1.0);local result = PhysicsSystemRequestBus.Broadcast.RayCast(config)local count = result:GetHitCount()local hit = result:GetHit(1) --object hit --future uselocal dist = (result:GetHit(1).position.z - config.origin.z) *-1 --distance from groundDebug.Log(tostring(self.Properties.has_waited))Debug.Log(tostring(self.timer))if dist > 1 thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "in_air", true) elseif dist < 1 thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "in_air", false)endend----jump timer if self.timer > 0.0 thenself.timer = self.timer - deltaTimeelse--if (self.timer < .1) and (self.timer > 0) thenself.Properties.has_waited = trueendfunction movement:OnDeactivate()self.fbBus:Disconnect()self.lrBus:Disconnect()self.tickBusHandler:Disconnect()self.jump_bus:Disconnect()endendreturn movement;SharerePost-User-0404587answered 5 years ago0I did see that last night, but couldn't seem to get it to work in my game...big time noob here.SharerePost-User-0404587answered 5 years ago0I saw that last night but couldn't seem to get it to work.Here is where I need a delay.function movement:OnPressed(floatValue)local current_bus = InputEventNotificationBus.GetCurrentBusId()if current_bus == self.jump_bus_id thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "jump", floatValue)****need delay here because impulse activates before first jump animation causing the player to start jump in mid-air. ****PhysicsComponentRequestBus.Event.AddImpulse(self.entityId, Vector3(0,0,self.Properties.jmp));endendSharerePost-User-0404587answered 5 years ago0I appreciate all the info. I have been using script canvas with a lot of success, but hitting road blocks on more advanced aspects...such as trying to make building system for a survival game I am working on... mainly just getting the building materials to snap together. I will be tackling inventory after that.SharerePost-User-0404587answered 5 years ago0okSharerePost-User-7620461answered 5 years ago0Ok im not at home right now so kind of hard to write the code. Ill right it out for you when I get Home but. That method is good you just need to add a new Property in your Properties maybe call it hasWaited = true, and in your OnTick() function were in the script under the else statement remove the missal code. Write and set self.Properties.hasWaited = true . Then in your OnPressed() function put all your input stuff for your jump button in an if statment and this is what it should say. If(self.Properties.hasWaited == true)thenself.Properties.hasWaited = falseYour input stuff here for jump <<endAnd it should delay the amount of time you set you wait property as like in the example link i showed you.I hope this helps. :DSharerePost-User-7620461answered 5 years ago0After reviewing the code above, it looks like the if..then structure where you set self.Properties.has_waited is outside of the OnHeld function.Is this the case? If it is, then move it so that the entire if..then so that it is before the last end of the OnHeld function.SharerePost-User-1395243answered 5 years ago0I was able to get the timer to count down(and now understand the concept), however, I cannot seem to get the impulse to fire after the timer...it seems to want to fire at the same time as the animation. I'm guessing because has_waited is in the true state by default. Any ideas?...I really appreciate the previous insight...btwSharerePost-User-0404587answered 5 years ago0Does anyone have any insight on this?SharerePost-User-0404587answered 5 years ago0Does anyone have any insight on this?SharerePost-User-0404587answered 5 years ago0Sorry It took me so long But This method may be easier. Hope this helpsREMOVEDUPLOADSharerePost-User-7620461answered 5 years ago0function movement:OnPressed(boolValue)local current_bus = InputEventNotificationBus.GetCurrentBusId()if current_bus == self.jump_bus_id thenAnimGraphComponentRequestBus.Event.SetNamedParameterBool(self.entityId, "jump", true)if (TickRequestBus.Broadcast.GetTickDeltaTime() >= self.Properties.nextJump) thenself.Properties.jumpWait = TickRequestBus.Broadcast.GetTickDeltaTime() + 1.0 / self.Properties.jumpWait;PhysicsComponentRequestBus.Event.AddImpulse(self.entityId, Vector3(0,0,self.Properties.jmp)); -------------------------------------------------------------------------------Debug.Log(tostring(self.Properties.jumpWait))Debug.Log(tostring(self.Properties.nextJump))endendI must be doing something wrong. There is still no delay between OnPressed and impulse.SharerePost-User-0404587answered 5 years ago0Here is how my jump works in script canvas.onpressed> jump_up animas animation editor transition from jump_up anim to in_air animimpulse kicks in from end of jump_up anim editor parameterraycast in_air takes over when >1mraycast in_air stops when <1manimation editor transitions from in_air anim to jump_down animSharerePost-User-0404587answered 5 years ago0Well this totally looks like it should work....and IT DID>>!!Thanks...I thought it wasn't working at first because the timer wasn't ticking down. Once I set it to .5 instead of 5 it started working perfectly.smooth as glassHate to bug you anymore, but how can I get the world position of the collision on a raycast...?It was simple in script canvas...but in lua, I can't seem to get the z from the hit...I'm want to make a simple building system kind of like minecraft, but with a bit more flexibility on block position. I was close in script canvas but could not figure out a way to get the blocks to snap to grid or each other for that matter. I figured it was a limitation with script canvas which is why i'm trying to learn lua.here is what i have so far...not working at alllocal camPosition = TransformBus.Broadcast.GetWorldTM(self.Properties.cam_y)local configs = RayCastConfiguration()configs.origin = camPosition:GetTranslation()local results = PhysicsSystemRequestBus.Broadcast.RayCast(configs)local count = results:GetHitCount()if count > 0 thenconfigs.maxHits = 1configs.maxDistance = 200configs.direction = Vector3(0.0, 1.0, 0.0);local hit = results:GetHit(1)buildLoc = hit.position--Debug.Log(tostring(hit.entityId))--Debug.Log("build_loc" ..tostring(buildLoc))endendSharerePost-User-0404587answered 5 years ago0It's in the OnPressed function. It works like that from script canvas, but I will give it a shot when I get home.SharerePost-User-0404587answered 5 years ago0The timer in its current state goes from true to false to true. I can't seem to get the impulse to fire on the second true so it still fires at the same time as the jump_up animation.SharerePost-User-0404587answered 5 years ago0Sorry, I meant to say I actually need the full world position of the collision...the way I have it returns the x and y, but the z never changes when I hit an object...it stays at 32m..(ground level). It should go up as I scan up the object. in script canvas if I getworldtranslation from the position output it works fine..SharerePost-User-0404587answered 5 years ago0This may work to get the World Z.REMOVEDUPLOADSharerePost-User-7620461answered 5 years ago0There is no set function to do this so far i have found. U have to use update. Example Here: https://forums.awsgametech.com/t/is-there-a-way-to-delay-time-in-lua-6/5490/1SharerePost-User-7620461answered 5 years ago"


Question: Build an IOS Application Tutorial - Initialise Amplify at Runtime

"Hi,I am trying to follow this tutorial and am stuck at the process of Module 2, Step 4 Initialize Amplify at Runtime.Ive moved awsconfiguration.json & amplify configuration.json file tot he project directory root in Xcode. Also added a new Backend.swift file & copied its contents.Next step is to open the AppDelegate.swift but problem is I don't seem to have one. I went ahead and created one & copied the contents in the tutorial.I ma now getting error message  Cannot find type 'UIApplication' in scope.I tried looking for the completed code and found the GitHub but couldn't find the Xcode example or some video demonstrationsIs anyone away of video demonstration or completed Xcode Version that I could then compare?Thanks in advanceToddFollowComment"

Answer: "0Hi Todd,You could try this workshop https://catalog.us-east-1.prod.workshops.aws/v2/workshops/9586a55a-1f61-456c-ace9-b24f505d44a4/en-US/00-intro/02-workspaceCommentShareSrianswered a year agoTodd a year agoThanks but I need IOS environmentShare"


Question: 502 Bad Gateway Nginx Error

"This is a beginner question I originally posted in SO:https://stackoverflow.com/q/71274015/5387163But no one knows the answer to this beginner level question over there so Im posting it here.I uploaded a fullstack Thymeleaf + SpringBoot JAR file in Elastic Bean/EC2 Instance. After deployment, Im getting 502 Bad Gateway nginx error when I try to view my web app. I think Im using a correct Security Group if you check my SO post.Can you please help?FollowComment"

Answer: "0Have you pulled the logs from the Beanstalk console and looked for relevant errors?The info in the SO post shows that healthchecks are failing on the instance. Have you verified that the application is running on port 5000 if you ssh to the EC2 instance?Further info about troubleshooting Beanstalk can be found within the AWS Docs.CommentShareRoBanswered a year agoOwnjageJuice a year agoif you check my SO post, I've already posted the error which i pulled from the logs and the error says "[error] 16292#16292: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.9.17, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:5000/", host: "172.21.11.88""You can see my Springboot app using port 5000 as defined in application.properties because Im aware that AWS uses 5000 as default.OK, so this SSH part and key-pair, is this mandatory? this is the step which I have no idea about.Share"


Question: Creating an alarm out of log group's metric filter.

"Hi,I have a small issue that I am not able to create an alarm based on metric filter which I created on the log group. The option create alarm is disabled/grayed out. I guess this is a simple issue/question but I just do not see how to resolve it.RegardsNinoFollowComment"

Answer: 1Found issueCommentShareNinoslavanswered 3 years ago


Question: Ground Truth Labeling of 3d Point Clouds - Center of Rotation

"I'm trying to label a 3D point cloud using the Ground Truth 3d Point Cloud labeling tool.  The image is an immersive 3d object.  Therefore, in order to make the UI usable, I need to be able to rotate the image around the view position, versus the point cloud origin. For example, if you were walking through a maze, to turn left or right, you would rotate around where you were standing, not the center of the maze.Is it possible to move the axis of rotation?Thanks!FollowComment"


Question: Strange Behavior with Athena UPDATE of an Iceberg table

"We are getting strange behavior updating an iceberg table with a mix of 'string' and 'int' data types:UPDATE table1 set int_col1=0 where key_col = 'key';  -- works fineUPDATE table1 set int_col2=0 where key_col = 'key'; -- works fineUPDATE table1 set int_col1=9, int_col2=10 where key_col = 'key'; -- works fineUPDATE table1 set in_col1=0, int_col=0 where key_col = 'key'; -- fails with error GENERIC_INTERNAL_ERROR: symbolCounter 2 should be columnValueAndRowIdChannels.size() %sIt seems there is something wonky with the parser when there is more than one SET to 0.  Anyone else seeing this, or is there a workaround or problem with our approach?  If we do a DELETE and INSERT it works fine, but UPDATE is sure handy...FollowComment"

Answer: "2As you might already be aware that Athena uses Presto in the back end. It seems that there was a known issue with PrestoSQL (Trino) where the query would fail if two columns are being updated with the same value. Please refer the below Github link for more details:https://github.com/trinodb/trino/commit/4e1cc58c2a73129a5d590c01e1e0040755e58248But this was fixed in the newer versions of the PrestoSQL and since Athena version 2 still uses an older version of Presto which is causing the above problem. I have tested with Athena version 2 and faced the same issue. On testing with Athena version 3 this issue seem to have been fixed as the Update query is working fine when two columns are being updated with same value, such as 0 in your case.Therefore, to overcome the issue I would request you to upgrade to Athena version to 3 and then test. Please refer the below document for Athena version 3:https://docs.aws.amazon.com/athena/latest/ug/engine-versions-reference-0003.htmlCommentShareSUPPORT ENGINEERrePost-User-6739329answered 7 months ago"


Question: [1.10.0.0] Can`t build ("android_armv7_clang" not supported. [on host platform: win32])

"Wen i try run "lmbr_waf.bat build_android_armv7_clang_release -p all" i see that error. Also with (calng -> gss) and (release ->debug->profile)[WAF] Executing 'build_android_armv7_clang_release' in 'x:\lumberyard\1.10.0.0\dev\BinTemp\android_armv7_clang_release'[ERROR] Target platform "android_armv7_clang" not supported. [on host platform: win32]Projects (SamplesProject and VirtualRealityProject)AndroidNDK (r15c) and AndroidSDK (23,24,25)os win7 64bitvs2015 + (c++ and mfc)Motorola Nexus 6 (7.1.1)"dev/WAF/android/android_settings.json" ("SDK_VERSION" : "android-23").If i try "adb.exe devices" i see my phone.Any help will be nice, can`t understand what i miss.Follow"

Answer: "0Accepted AnswerHi @REDACTEDUSERThis unfortunately is a known issue if you have previously configured without the "Compile for Android" setting checked in Setup Assistant before. There is a workaround however; inside BinTemp delete "valid_configuration_platforms.json" and the "module_def" folder. You will need to run the configure command again after doing this, only this time android will be properly configured.Let me know if you are still having issues.SharerePost-User-6730542answered 6 years ago0Hi gFunc, yes "Compile for Android Devices" is enabled.Here is all my settingsREMOVEDUPLOADMy Environment VariablePATH = W:\lumberyard\Android\sdk\tools;W:\lumberyard\Android\sdk\platform-tools;W:\lumberyard\Android\sdk;C:\Program Files\Java\jdk1.8.0_102\bin;C:\Program Files\Java\jre1.8.0_144\binAssetProcessor Setup And Work Correctly in dev/cache/VirtualRealityProject/es3 i see folder and assets.android_settings.json  {"DEV_KEYSTORE_ALIAS": "development_keystore","DEV_KEYSTORE": "_WAF_/android/dev.keystore","DISTRO_KEYSTORE_ALIAS": "distribution_keystore","DISTRO_KEYSTORE": "_WAF_/android/distro.keystore","BUILD_TOOLS_VER": "23.0.3","SDK_VERSION": "android-23","BUILD_ENVIRONMENT": "Development"}SharerePost-User-0150549answered 6 years ago0Hmm, did you also make sure to enable "Compile for Android Devices" inside of Setup Assistant?SharerePost-User-4556816answered 6 years ago0Super, thank you Scott@AGS!!! All works :)SharerePost-User-0150549answered 6 years ago"


Question: Differences between C++ and C# AWS GameLift Server SDK

"Hi!I am working on porting AWS GameLift Server SDK to Rust. As a reference, I use the official AWS GameLift Server SDKs - C++ and C# version. As a 3rd party implementation, I also use Javascript implementation.But I found one interesting difference between C++ and C# SDKs - how they connect to the AWS GameLift Server. C++ version creates 2 WebSocket connection (actually, it's a socket.io connection) on localhost:5757; C# version creates 1 WebSocket connection on localhost:5759 and sends HTTP requests to localhost:5758.Honestly, I like the C# design here since the implementation of request-response pattern over WebSocket in C++ and JS SDKs is a little bit ugly (IMHO).My question is: is it safe for me in my custom SDK use C# approach instead of C++? Because other custom implementation like JS uses only raw websockets without any HTTP. Who knows, maybe using HTTP is strictly restricted to the official SDK...So if anyone has any information about that - please share :)FollowComment"

Answer: "0Hey zamazan4ik,The idea behind the C# SDK update is that the socket.io library was creating a lot of issues for us (e.g. race condition), particularly in C#, so we have updated the C# architecture to get rid of socket.io, and while doing so, also updated it to use a lightweight and full-duplex protocol with open-source libraries in a large variety of languages (C#, C++, Java, JS being the required ones to support). Eventually, Websocket over HTTP was chosen due to the "variety of language' requirement; we have also considered using plain socket but eventually decided against it due to it not being available in open-source libraries of all aforementioned languages.So, you can implement with either plain socket or websocket. There is no preference on the gamelift's side. Though, GameLift has only tested with websocket officially, so you could potentially have better support when going that route.CommentSharerePost-User-7108006answered 2 years ago0Thanks for the information! I will choose C# SDK approach for the Rust version of the SDK. HTTP + WebSocket is more preferrable for me than Socket.io (actually I don't like the idea of using Socket.io here). If you have any influence on AWS Docs team, will be awesome, if you put the information about the differences between SDKs somehwere in AWS GameLift Server SDKs documentation.Thanks!CommentSharerePost-User-9125454answered 2 years ago0Btw, is there any additional form to post any feedback to the AWS GameLift team? E.g. about publishing officially Protobuf scheme as a part of the SDK? Now only unofficial reverse-engineered version is available and that's too inconvenient to useCommentSharerePost-User-9125454answered 2 years ago0Thanks, I have submitted a request to update the doc. Someone from GameLift will reply to this thread once the update is completed.GLIFT-14761CommentSharerePost-User-7108006answered 2 years ago0We do have a backlog task to open source the SDK on Github, though I cannot guarantee when that would be. However, here is the protobuf scheme to unblock you: https://pastebin.com/CVzNKWkcCommentSharerePost-User-7108006answered 2 years ago0Thanks! Honestly few hours ago I just reverse-engineered the latest scheme: https://github.com/ZaMaZaN4iK/GameLift-Server-Protobuf :)But thanks a lot! Would be awesome, if you be able to somehow to publish updated schema with every SDK release.CommentSharerePost-User-9125454answered 2 years ago0@REDACTEDUSERCommentSharerePost-User-8474708answered a year ago0@REDACTEDUSERCoreCommands.protoGroupMessages.protoPacket.protoCommentSharerePost-User-7108006answered a year ago0Thanks! Exactly what I neededCommentSharerePost-User-8474708answered a year ago0Are you making a custom client SDK? :)CommentSharerePost-User-7108006answered a year ago0Yes, I was attempting to port to Java/Kotlin. Do you happen to know of an existing port? If not, will there be any issues with me publishing on github when I'm done?CommentSharerePost-User-8474708answered a year ago0@REDACTEDUSERYou can easily publish it to GitHub without any issues. Community already done some ports to other languages like JS, Go, Rust.CommentSharerePost-User-9125454answered a year ago0@REDACTEDUSERCommentSharerePost-User-9742427answered a year ago0Hi @REDACTEDUSERCommentSharerePost-User-8474708answered a year ago0@REDACTEDUSERhttps://github.com/zebehringer/GameLiftRealtimeKotlinCommentSharerePost-User-8474708answered a year ago0Thank you.  I am very interested in this.CommentSharerePost-User-9742427answered a year ago"


Question: "How do I put in the JSON of the Lambda event several objects with different extensions, such as mp4 or mp3?"

"Hi, I'm doing a project where the lambda takes files from the s3 bucket and sends it to Transcribe, but the Lambda is only taking mp3 type files, in the code when I put it in MediaFormat="mp3" or "mp4" in Lambda returns with the error "The media format you specified does not match the detected media format. Please check the media format and try your request again."My code is:import jsonimport urllib.parsefrom urllib.parse import unquote_plusimport boto3def lambda_handler(event, context):record = event['Records'][0]domenicoteste1 = record['s3']['bucket']['name']s3object = record['s3']['object']['key']file_obj = event["Records"][0]object = unquote_plus(str(file_obj["s3"]["object"]["key"]))s3Path = "s3://" + domenicoteste1 + "/" + objectjobName = domenicoteste1 + '-' + str(uuid.uuid4())client = boto3.client('transcribe')response = client.start_transcription_job(    TranscriptionJobName=jobName,    LanguageCode='pt-BR',    MediaFormat="mp3" or "mp4",    Media={'MediaFileUri': s3Path},OutputBucketName= "outputeteste1")return {    'TranscriptionJobName': response['TranscriptionJob']['TranscriptionJobName']}FollowComment"

Answer: "0Hi!According to the documentation https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transcribe.html#TranscribeService.Client.start_transcription_job the mediaFormat has to be a string. In Python "OR" is a boolean operator. The result of "mp3" or "mp4" is the value "mp3". This is probably not your intended input for the function.As the API documentation does not mention a way to specify several format, I suggest creating two different lambda function. One for mp3, the other for mp4.Best,MatthäusCommentShareMatthaeusPanswered 8 months ago0Hi - Thanks for reaching out. The flag media-format is a string and can take possible values like mp3, mp4, wav, flac. Don't think so it will take something like MediaFormat="mp3" or "mp4".One possible option is toGet the extension from eventRecordCheck for valid extension type like if (!['mp3', 'mp4', 'wav', 'flac'].includes(extension))If valid then create a dynamic Media format like MediaFormat: extensionIn this way, you can have a single lambda function that can be re-purposed for the supported extensionsHope this helps.CommentShareEXPERTAWS-User-Nitinanswered 8 months ago"


Question: S3: Can't change storage class

"Pleas, help me!Bucket:   s3://*//Current object  Class: Glacier Flexible Retrieval (formerly Glacier)Need to change  object class to    Standard.Through the wwwERROR:Automatically canceledAfter 10,000 failed edits, the S3 console automatically cancels the edit storage class action for the remaining objects. For more information, see the Error column in the Failed to edit table below.CLI:aws s3 cp s3:////   s3://// --storage-class STANDARD --recursive --force-glacier-transferERROR:copy failed: s3:////0_DGroup_all/111/Alina.psd to s3:////0_DGroup_all/111/Alina.psd An error occurred (InvalidObjectState) when calling the CopyObject operation: Operation is not valid for the source object's storage class..................Change object class via  www interface:  Actions -- Initiate RestorTo no avail, nothing happens.Please, help meFollowComment"

Answer: "0Hello,It is not possible to copy an S3 object direct from glacier without first restoring the object.It is likely that the object has either not been restored or still-yet-to-complete restore from glacier hence the copy error.Upon successful restore, the temporary object can be accessed or copied (using aws s3 cp / aws s3 sync and similar)While there temporary restore object is available, the object will still show it is in Glacier storage class but you can copy it prior to the temporary object expiry.See "How can I restore an Amazon S3 object from the S3 Glacier or S3 Glacier Deep Archive storage class using the AWS CLI?"https://aws.amazon.com/premiumsupport/knowledge-center/restore-s3-object-glacier-storage-class/CommentSharethereisnoplacelikedevnullanswered a year ago"


Question: Certificate request for CDN

"Hello,I am using Cloudfront since one year. I have recently received an email telling me to renew my SSL certificate for my cdn domain.Despite the email, my certificate's status has always been ok on aws.Now, my CDN is not working anymore so I have added a CNAME listed in my AWS certificate manager. It's not working and I don't know how to check it. I did not change anything since last year and did not do that before.Could you help me understand what I should do?Thanks a lot for helpingFollowComment"

Answer: "0It's finally ok, just needed time of propagation.CommentSharejuliebonjouranswered 2 years ago"


Question: can't add a new application in application insights

"Hi everyone,I met a problem that I can't add any new application to monitor my instance application resource. I add some instances using .NET service into an application group and I try to add an application to monitor this .NET resource group. But I stuck on the first step Specify application details for a long time and the result shows application discovery failed. Can anyone give me some advice about how to solve this problem? Really appreciate it!The second problem is that the Monitored components of any new application I can add are empty, there is no resource shown in the components part. I feel really confused about the problem.Edited by: ShaoyiLi on Feb 26, 2021 12:07 PMFollowComment"

Answer: "0Update 1I found the AWS SSM agent in those instances that I can't add to a new application use up my CPU. The CPU utilization is nearly 100%. The problem that I can't implement the application insights is the bug caused by the AWS SSM agent because the SSM agent is a Prerequisites of the application insights. It seems the SSM agent in the instance repeat the restarting process because my terminal shows several warning SSM agent is starting and the restarting use up the CPU.I check the error logs in my instance, and I foun the main error is2021-02-26 15:51:35 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [d2c14f85-0078-4f80-8990-1df22d983f1e] file watcher error: CloseHandle: The handle is invalid.2021-02-26 15:51:36 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [057ce019-2095-456a-a874-1be23f075ed9] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:29:23 ERROR [IsProcessExists @ process.go.86] [MessagingDeliveryService] [EngineProcessor] [OutOfProcExecuter] [7b5a3ded-1341-4707-8436-036beeec501f] encountered error when finding process: open process error: %!(EXTRA syscall.Errno=The parameter is incorrect.)2021-02-26 16:29:23 ERROR [GetDocumentState @ docmanager.go.121] [MessagingDeliveryService] [EngineProcessor] encountered error with message unexpected end of JSON input while reading Interim state of command from file - 42cb437f-1a9f-490a-9b3c-cce608bac3532021-02-26 16:29:23 ERROR [IsProcessExists @ process.go.86] [MessagingDeliveryService] [EngineProcessor] [OutOfProcExecuter] [057ce019-2095-456a-a874-1be23f075ed9] encountered error when finding process: open process error: %!(EXTRA syscall.Errno=The parameter is incorrect.)2021-02-26 16:29:23 ERROR [IsProcessExists @ process.go.86] [MessagingDeliveryService] [EngineProcessor] [OutOfProcExecuter] [86713365-8052-4891-920a-fba7c98d4f73] encountered error when finding process: open process error: %!(EXTRA syscall.Errno=The parameter is incorrect.)2021-02-26 16:29:23 ERROR [IsProcessExists @ process.go.86] [MessagingDeliveryService] [EngineProcessor] [OutOfProcExecuter] [cdd9b8a7-4a66-4e0b-8b4a-05963f6eabef] encountered error when finding process: open process error: %!(EXTRA syscall.Errno=The parameter is incorrect.)2021-02-26 16:29:23 ERROR [IsProcessExists @ process.go.86] [MessagingDeliveryService] [EngineProcessor] [OutOfProcExecuter] [d2c14f85-0078-4f80-8990-1df22d983f1e] encountered error when finding process: open process error: %!(EXTRA syscall.Errno=The parameter is incorrect.)2021-02-26 16:29:37 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [8587c8ee-1aa5-411a-838f-ff4ec3f1218d] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:29:43 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [f2a63484-2081-4225-8b14-a60f4ddb9a16] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:29:48 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [31cc4d1a-bfb1-4796-9868-1f0ea47268a0] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:29:51 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [099010e5-5d71-42a1-b060-b05bea906b31] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:29:51 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [099010e5-5d71-42a1-b060-b05bea906b31] file watcher error: CloseHandle: The handle is invalid.2021-02-26 16:30:05 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [770f959c-1728-4a27-aff0-39e1b8615103] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:30:18 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [583d06d6-a6fe-48f9-ad35-9fcc85dcb9c4] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:30:23 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [a83c88e0-c649-4a2f-8817-7d7f01424784] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:30:35 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [e5d6741a-620d-4511-81bf-b9a6cb25086e] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:30:36 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [814b5855-de13-4cb7-ae32-cc764224392a] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:30:58 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [6f933b47-bac8-490c-819e-c285a0b9b848] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:03 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [0d9987a0-a371-4e68-8a40-f61b8407e0d1] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:03 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [16217593-ddf4-4a05-8f1c-d9ef8986b7f3] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:03 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [f17261a5-1fe5-466a-a4c2-503bd2775b7e] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:03 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [f17261a5-1fe5-466a-a4c2-503bd2775b7e] file watcher error: CloseHandle: The handle is invalid.2021-02-26 16:31:04 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [d6187eb2-043b-4b74-9ce8-0127dd25cbdc] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:27 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [cd04a726-6212-424c-ab30-0f6cee6f9699] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:29 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [8ee12023-3377-4bf4-aa16-ab2eb0d9b905] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:46 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [2acc077e-6636-4fb2-8633-f04c58924e29] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:49 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [4fdd806a-4984-4d18-82ec-707f32e8631e] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:31:54 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [03666b9b-aa35-4734-8a70-65929b9cb369] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:32:01 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [ed5152b4-6615-47bf-bdb9-2be157908cb9] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:32:01 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [0bf201dc-1fa9-4c14-a0b0-d9eeedc858ff] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:32:01 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [0bf201dc-1fa9-4c14-a0b0-d9eeedc858ff] file watcher error: CloseHandle: The handle is invalid.2021-02-26 16:32:09 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [a1d115fa-8794-403a-ae19-329a93a1ed15] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:32:17 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [be7d9932-cd57-41f1-8311-472329e73546] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:32:17 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [9b75b6e3-0ddf-4938-874c-e05ccd31de00] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:32:34 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [f1ad7167-ec59-4fd7-a3a3-0b739dd2b62d] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:07 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [c5977b62-88ee-48b1-a91d-67f85ff1e26b] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:11 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [a7afa3e9-6511-4aaa-a5be-5aee66272164] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:11 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [a7afa3e9-6511-4aaa-a5be-5aee66272164] file watcher error: CloseHandle: The handle is invalid.2021-02-26 16:33:17 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [6afb9237-c0ff-4ad4-91b7-1bdb8d3d1362] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:20 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [e7cbfc98-e25d-468f-bd58-a05b1ae83a14] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:23 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [7e47d6fd-b5d3-43b3-9b93-ffd818f8930a] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:28 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [ef7a2f46-2654-4f9f-b8c2-b9a6b65ab791] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:38 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [ce478058-ec9b-4772-9ea7-92dcc87d3ad4] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:45 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [72b7fbfe-a853-4fc7-abe2-3f2cef7c069b] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:33:53 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [96526ae3-9b39-4862-a801-6648ff917457] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:34:07 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [22d750bd-7e21-4f88-ac19-72be6e7ef65b] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:34:09 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [7b4ba7f7-34ea-4af9-abb8-8a891c86274c] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:34:27 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [02f0409b-dda0-43ae-8e5a-21250be97b50] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:34:27 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [02f0409b-dda0-43ae-8e5a-21250be97b50] file watcher error: CloseHandle: The handle is invalid.2021-02-26 16:34:28 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [61d8be89-d3d0-41fd-ae37-120683526f5c] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:34:32 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [86877979-1d2d-4e30-99a7-d6fd90dd103e] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:34:59 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [36736af2-36c4-4ddf-8cdc-c9698309eb82] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:35:00 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [e821f103-4995-4b6b-820e-b52041a0084c] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:34:48 ERROR [watch @ filechannel.go.300] [MessagingDeliveryService] [EngineProcessor] [OutOfProcExecuter] [1d40238c-3aaa-4a54-aa73-fd3b36cdf6dc] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:34:48 ERROR [watch @ filechannel.go.300] [MessagingDeliveryService] [EngineProcessor] [OutOfProcExecuter] [1d40238c-3aaa-4a54-aa73-fd3b36cdf6dc] file watcher error: CloseHandle: The handle is invalid.2021-02-26 16:35:07 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [355577bd-a6f6-405f-9330-f7aca22aa076] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:35:17 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [5bb31d3b-581b-440a-8192-6dc41899dc99] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:35:21 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [e4cd4a75-eead-455d-9cb3-d3a5c1b9ae13] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:35:49 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [c00febdb-3aa1-4077-a6ee-858557c39086] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:36:08 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [a4482fdb-0427-441a-ae01-aafebef48120] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:36:14 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [4952fe07-d4a3-42a0-8cc5-a71849735c90] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:36:29 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [77cb368e-428a-4d89-b3db-4c2bd6e870e7] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:36:39 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [61da6876-5187-4898-9d70-da5606b1cebe] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:36:42 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [990da9cb-6302-460b-8eda-37cba3a248fe] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:36:45 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [0eeae86c-72f4-4932-b08d-dc3e1495fa26] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:36:50 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [32ef26c7-2983-46ce-9a9b-795ad8191997] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:37:16 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [0951b433-e18b-45cc-94f5-261946486444] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:37:31 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [61bd5b4f-688e-4684-ad65-cb5b0938b647] file watcher error: CancelIo: The handle is invalid.2021-02-26 16:37:33 ERROR [watch @ filechannel.go.300] [ssm-document-worker] [d3f43705-a64b-4004-a21c-23d712991a6c] file watcher error: CancelIo: The handle is invalid.CommentShareShaoyiLianswered 2 years ago0Hi everyone,I finally figure out why the CPU utilization goes to 100%, there are two reasons.The version of the SSM agent is 2.X in my instances, which may cause a conflict between the application insights service and SSM service. The solution is to manually update the version of the SSM agent. The process does not require a server restart.I didn't attach the role AmazonSSMManagedInstanceCore to the instance I use the application insight service. To be mentioned, the service requires two roles, AmazonSSMManagedInstanceCore and CloudWatchAgentServerPolicy. The system runs abnormally if we don't attach the two roles restrictedly (Without some permissions).After that, everything runs very well. hope it help you when you meet the same error.CommentShareShaoyiLianswered 2 years ago"


Question: OPENSEARCH CREATION

"HI! I have this project on terraform where I need to create an assumerole and assign it with permission/policy that can spin up and spin down Opensearch. I tried to do it first in AWS console manually so I can understand the concept and I selected Opensearch Service on full-access but I can't still create the Opensearch Domain, it just load endlessly but when I assigned AdminAccess to the  IAM user it created the domain instantly.I would like to ask if what other services do I need to allow in order to successfully create the Opensearch Domain without Admin access?FollowComment"

Answer: "0This really depends on what you want to configure as part of the creation. For OpenSearch, I'd start with the service reference for the list of actions and how they can be controlled. If you don't want to be that granluar, you can use the AmazonOpenSearchServiceFullAccess managed policy which grants full access to the service (es:*).CommentShareEXPERTRaphaelanswered 2 months agorePost-User-3204109 2 months agoThank you for replying! Is it possible to create only a spin up and spin down, without giving full access to Opensearch?Share"


Question: OpenSearch Cluster max clause count not updating

"Currently, I have an OpenSearch cluster that has a **Max Clause Count **of 1024. I want this value updated to 4096. I have updated the value within the cluster configuration settings and the dashboard has confirmed that the update was completed. However, when testing, I get the following error:{"type":"too_many_clauses","reason":"maxClauseCount is set to 1024"}Indicating that the update was somehow not successful.Any suggestions as to what I need to do to remedy this? Thanks!FollowComment"


Question: Detect if the content contains toxic content from a paragraph of text

"I am having a HTML textarea where a user enters a descriptive text.I want to know which service to use (consume) to detect if the user-inputted text is toxic or not.rekognition/content-moderation and  comprehend seem to be detecting data from media sources like images, videos or PDFs.FollowComment"

Answer: "0Accepted AnswerComprehend is the best tool for this job.You will want to create a Custom Classification where you can define words or phrases as "toxic".  Unfortunately it's very hard to determine what constitutes "toxic" language out of the box as everyones definition is slightly different, so this will be the best path.With Custom Classification, you can define words or phrases and define a label for them to train Comprehend and then run the specific comments through the Comprehend API to identify if the text contains any of your custom labels.CommentShareEXPERTChris_Ganswered a year ago"


Question: Converted HLS stream is very poor quality

"I have a large (150MB) mp4 video that I want to convert to HLS. I'm very new to using video on the web but I decided, for performance reasons, that streaming the video would be the best option.I tried using AWS Elemental MediaConvert to convert to HLS. However, I've tested the outputted files and the quality is awful. I tried implementing it using  https://github.com/video-dev/hls.js/ , a JavaScript HLS client, but the video doesn't even seem to load, let alone play.Here are my MediaConvert output settings:Video settings: H264, 5 KbpsAudio settings: AAC, 96 Kbps, 48000I've not found implementation details in the AWS docs so far. Can someone tell me where I'm going wrong?Thank youFollowComment"

Answer: "0Hello,Knowing output bitrate isn't necessarily enough to go on. Complexity of the video content, framerate, resolution, and other encoding settings such as GOP, # of B Frames, and more all make an impact on the output quality.I have a few questions to help troubleshoot:A) When you have a moment, could you PM me your Account ID, the Job ID, and the region the job was ran? This will help me get a closer look at your settings.B) Did you run this job based off of an existing MediaConvert Preset? Or did you build the job settings from scratch?C) May I ask what exactly about the output video quality is bad?Thank you!-JaredCommentShareAWS-User-8981142answered 4 years ago0After a very helpful reply from @awsjarede, I got a really great output.Firstly, I went from a bitrate of 5000 to 5000000From the reply:"Other settings I would suggest in general would be:Specify the Framerate, rather than using Follow Source. This helps make sure all your output framerates are consistent regardless of the input framerates.-Pixel Aspect ratio: Square Pixels (again, same logic as not following the framerate)-GOP Size: 2 Seconds (I tend to see this across most customers, should very slightly improve video quality)-Flicker Adaptive Quantization: Enabled (again, very slight VQ improvement)""The only other setting I might recommend would be to change the segment length in the HLS Output from 10 seconds to 2 seconds. It allows players to download segments faster and I see it commonly used by customers."CommentSharepeakDavidanswered 4 years ago"


Question: Lamdba ECONNRESET errors occurring regularly

"I have recently started seeing many errors while running Lambda functions.  General process we follow using node.js scripts:Send event file with two attachments, one file for delivery plus one json file for instructionsUpload file to S3 bucket,Send the file to an ftp server or in an email as an attachment.The errors started occurring within the last week or so, everything was running fine prior to that for a number of months.  To the best of my knowledge nothing in our configuration has changed except adding more services to our account (some ec2 instances).  In some cases it looks like the file transfer worked fine, but then I get the error message after processing, with the previous requestid referenced. (see below chain of messages).  In other cases the error occurs and then the file is processed fine a few seconds later.Example Flow with error:START RequestId: e282d989-e488-11e6-9e54-0d7f64db0dd8 Version: $LATEST2017-01-27T12:05:24.984Ze282d989-e488-11e6-9e54-0d7f64db0dd8Received event:2017-01-27T12:05:24.985Ze282d989-e488-11e6-9e54-0d7f64db0dd8{    "Records": [        {            "eventVersion": "2.0",            "eventSource": "aws:s3",            "awsRegion": "us-east-1",            "eventTime": "2017-01-27T12:05:24.791Z",            "eventName": "ObjectCreated:Put",  *--- other file details etc*2017-01-27T12:05:24.985Ze282d989-e488-11e6-9e54-0d7f64db0dd8DownloadFile (bucket name here) (file name here)2017-01-27T12:05:25.077Ze282d989-e488-11e6-9e54-0d7f64db0dd8Found config email bucket JSON file [(file name here)]2017-01-27T12:05:25.077Ze282d989-e488-11e6-9e54-0d7f64db0dd8Data read from file =2017-01-27T12:05:25.077Ze282d989-e488-11e6-9e54-0d7f64db0dd8email bucket info = (bucket name here) 2017-01-27T12:05:25.159Ze282d989-e488-11e6-9e54-0d7f64db0dd8Uploaded file [(file name here)] to bucket (bucket name here) 2017-01-27T12:05:26.434Ze282d989-e488-11e6-9e54-0d7f64db0dd8Successfully ftp file to (ip addr here)END RequestId: e282d989-e488-11e6-9e54-0d7f64db0dd8REPORT RequestId: e282d989-e488-11e6-9e54-0d7f64db0dd8Duration: 1455.55 msBilled Duration: 1500 ms Memory Size: 1024 MBMax Memory Used: 40 MBSTART RequestId: f0e89c6d-e488-11e6-a6b6-cd817fd75da8 Version: $LATEST  *--- start of new request*2017-01-27T12:05:49.065Ze282d989-e488-11e6-9e54-0d7f64db0dd8Error: read ECONNRESETat errnoException (net.js:905:11)at TCP.onread (net.js:559:19)    *----- failure referencing previous request id*END RequestId: f0e89c6d-e488-11e6-a6b6-cd817fd75da8REPORT RequestId: f0e89c6d-e488-11e6-a6b6-cd817fd75da8Duration: 38.32 msBilled Duration: 100 ms Memory Size: 1024 MBMax Memory Used: 40 MBRequestId: f0e89c6d-e488-11e6-a6b6-cd817fd75da8 Process exited before completing requestSTART RequestId: f0e89c6d-e488-11e6-a6b6-cd817fd75da8 Version: $LATEST   *--- retries previous request to email next file and everything continues on as normal*Is there a timeout setting I need to increase, or are we not closing connections properly after ftp transfer??  Any help would be appreciated.  I don't believe we have a functional problem because the file eventually gets through, but the errors cost time to verify and are causing clutter in my monitoring.Thanks in advance.FollowComment"

Answer: "1Note that port25 egress is throttled on all AWS compute services; if you are sending significant volumes of email, we recommend using Amazon SES. AWS Lambda does not currently support raising port25 egress limits on a per-function or per-account basis.Also, if you're using NodeJS, make sure that you have completed all asynchronous processing prior to returning from your request handler; otherwise, you may have a socket connection that is frozen (and subsequently thawed) across requests, which will often lead to a connection reset. Async processing in NodeJS is a frequent source of this type of error.Hope this helps!CommentShareAWS-User-1179089answered 5 years ago0Hi!I'm having the same error as BobC. My case is establishing an SMPP connection and sending messages. Then closing the connection.But sometimes (can't say the exact %) I get this error and at first was reporting the issue to the SMPP server, but after taking a closer look at the logs, not even the console.log at the beging of the handler is being printed.Any reason for this happening?Thanks in advance.Here are the logs of the crash and anotherone that went successfully.START RequestId: df708fe3-72d0-11e8-b6e3-2f7daa66e4a1 Version: 32018-06-18T08:23:26.259Z2392f3ba-72cf-11e8-a2ea-13cbc035981aError: read ECONNRESET         at exports._errnoException (util.js:1018:11)         at TCP.onread (net.js:568:26)END RequestId: df708fe3-72d0-11e8-b6e3-2f7daa66e4a1REPORT RequestId: df708fe3-72d0-11e8-b6e3-2f7daa66e4a1Duration: 181.04 msBilled Duration: 200 ms Memory Size: 128 MBMax Memory Used: 23 MBSTART RequestId: e4122b50-72d0-11e8-9460-25ca2b096794 Version: 3++2018-06-18T08:23:34.019Ze4122b50-72d0-11e8-9460-25ca2b096794Received event: {  params_of_the_event }2018-06-18T08:23:34.237Ze4122b50-72d0-11e8-9460-25ca2b096794Connecting to [smpp://smppserver:port] ...[... and then the process continues as expected ...]REPORT RequestId: e4122b50-72d0-11e8-9460-25ca2b096794Duration: 577.97 msBilled Duration: 600 ms Memory Size: 128 MBMax Memory Used: 23 MBCommentSharealarmiosanswered 5 years ago"


Question: employee-directory-app-exercise6 not woking

"In our lessons, we were told to test employee-directory-app-exercise6 but when I added the photos and attributes, it confirm that it saved but it didn't add to the employee app and dynamoDB table. I tried it thrice same issue. Please help me pass this phase.FollowComment"