Recent questions

see all
1/18
  • Hello, Is there a way to start a KDA application using another's snapshot if both are compatible? It looks like snapshots are coupled to individual applications. Thanks!
    0
    answers
    0
    votes
    3
    views
    asked 8 minutes ago
  • Newer versions of Amazon Aurora PostgreSQL-compatible edition are now available and database cluster(s) running Aurora PostgreSQL minor versions 11.12, 12.7, and 13.3 need to be upgraded by March 15, 2023. These newer minor versions include important updates that will improve the operations of your Aurora PostgreSQL instances and workloads. We strongly encourage you to upgrade to at least a recommended minimum minor version at your earliest convenience. * For PostgreSQL Minor Version 11.12, the recommended minimum minor version is 11.17. * For PostgreSQL Minor Version 12.7, the recommended minimum minor version is 12.12. * For PostgreSQL Minor Version 13.3, the recommended minimum minor version is 13.8. Starting on or after 12:00 PM PDT on March 15, 2023, if your Amazon Aurora PostgreSQL cluster has not been upgraded to a newer minor version, we will schedule the relevant recommended minimum minor version to be automatically applied during your next maintenance window. Changes will apply to your cluster during your next maintenance window even if auto minor version upgrade is disabled. Restoration of Amazon Aurora PostgreSQL 11.12, 12.7, and 13.3 database snapshots after March 15, 2023 will result in an automatic upgrade of the restored database to a supported version at the time. How to Determine Which Instances are Running These Minor Versions? * In the Amazon RDS console, you can see details about a database cluster, including the Aurora PostgreSQL version of instances in the cluster, by choosing Databases from the console's navigation pane. * To view DB cluster information by using the AWS CLI, use the describe-db-clusters command. * To view DB cluster information using the Amazon RDS API, use the DescribeDBClusters operation. You can also query a database directly to get the version number by querying the aurora_version() system function i.e., "SELECT * FROM aurora_version();". How to Apply a New Minor Version You can apply a new minor version in the AWS Management Console, via the AWS CLI, or via the RDS API. Customers using CloudFormation are advised to apply updates in CloudFormation. We advise you to take a manual snapshot before upgrading. For detailed upgrade procedures, please see the available User Guide [1]. Please be aware that your cluster will experience a short period of downtime when the update is applied. Visit the Aurora Version Policy [2] and the documentation [3] for more information and detailed release notes about minor versions, including existing supported versions. If you have any questions or concerns, the AWS Support Team is available on AWS re:Post and via Premium Support [4]. [1] https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.PostgreSQL.html [2] https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.VersionPolicy.html [3] https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html [4] https://aws.amazon.com/support
    0
    answers
    0
    votes
    3
    views
    AWS
    asked 34 minutes ago
  • Hello, I have created an IOS App using AWS Amplify. I have the app configure with Amplify with all the necessary AWS Plugins. I am having an issue with updates to DynamoDB not updating in the IOS App. I am using Amplify.DataStore.observeQuery to check for any changes to the database. If I change some data in the "content (datastore)" of Amplify Studio the data on the IOS App does update. My issue is when I update the data in DynamoDB, the IOS app will not update until I run Amplify.DataStore.clear() and then Amplify.DataStore.observeQuery() functions. I am sending data to DynamoDB using MQTT with a wifi module and I would like to see real time results of the data being sent to DynamoDB on the IOS App without manually pressing any buttons. I believe I am close, but I must be missing something to get it automatically update instead of manual pressing buttons to run the clear and observeQuery functions. Feel free to add comments to this post with any questions. Thank you all in advance.
    0
    answers
    0
    votes
    2
    views
    asked 36 minutes ago
  • We have an application that processes customer survey responses to determine the overall sentiment of it. (negative, neutral, positive). We are leveraging SageMaker Sentiment analysis for this. Below are some key datapoints of our current usage. 1. We have 4 real time endpoints each having the below properties 1. Multi Model: 1. Model A is 6 GB 2. Model B is 9.4 GB 2. Runtime configuration: 1. ml.c5.2xlarge (8 vCPU, 16 GiB memory) 3. Image responsible for handling the inference is of size 4.5gb 2. The reason we have 4 endpoints is so that we can make concurrent requests to SageMaker. For this we have our load balancing logic that determines which endpoint to call. This pattern will not continue working for us during 2023 as we scale up our survey ingestion pipeline. From running a load test of our system, the maximum TPS to Sagemaker we can support currently is 5.333; anything beyond that causes SageMaker to send 5XX responses (because we max out the CPU on all the available cores). Furthermore, our call pattern is of batch so there is no need for us to have the endpoints running 24/7. For 2023, we have predicted that we want to start handling a TPS of up to 200 during peaks. Before we start designing a new workflow to support this TPS, we wanted to get the SageMaker’s teams/community's feedback on alternatives. While we could try to scale vertically and horizontally this setup, we don’t believe deploying bigger hosts and creating more realtime endpoints is the right solution in terms of total costs (given our intermittent batch call pattern to Sagemaker). Specifically, we want to know which Inference Flavor would better fit our use case based on the above description of the system.
    0
    answers
    0
    votes
    2
    views
    asked an hour ago
  • Hello, We were using t2.micro, installed a wordpress website which has 2300+ products and 50 users daily. A POS plugin has been installed on the website to bill in the store. The instance was being shutdown, and after rebooting it starts working. Then, we moved to t3.medium, which is enough for such load. But, the problem is still there. Any input?
    1
    answers
    0
    votes
    2
    views
    asked 2 hours ago
  • Hello team, My project is a rest api with angular FRONTEND with AMPLIFY that uses the https protocol and a BACKEND spring boot in ELASTIC BEANSTALK that uses http with which it produces mixed content and the application crashes when logging in. To solve it, I have created a self-signed certificate with OpenSSL but when I import it, when I validate in the CERTIFICATE BODY field, the alert "The provided certificate body is not in a valid PEM format" appears. As much as I look for the solution, I can't find it. I would need your advice to find the expected solution. I use the domain name in the frontend with amplify but in the backend I am not interested and for this reason, following the tutorials, what I do is create the self-signed ssl/tls certificate to import it and include it in the load balancer. But I've been trying to make a valid certificate for a couple of days and the same thing always happens to me, if I do it automated with ACM X509 I don't understand the certificate, it does accept it but where is the CA and everything else? That's why I think it doesn't work for me. By the way, the CA I use when creating it is: *.eu-west-1.elasticbeanstalk.com Thank you very much in advance team :)
    0
    answers
    0
    votes
    2
    views
    asked 3 hours ago
  • I'm seeing google lighthouse throw warnings about cloudwatch RUM not having text compression enabled, is it possible to get this?
    0
    answers
    0
    votes
    1
    views
    asked 3 hours ago
  • We're unable to send outgoing emails with Amazon WorkMail: You have exceeded the sending limit for this account. We haven't been able to send any emails through WorkMail, hard to believe we have reached the sending limit. I already opened a support call and we received the message from: ``` Hello, Thank you for contacting us. We see that your current sending limit is 50,000 messages per day. You can view the current sending rate and sending quota for your account on the Sending Statistics page of the Amazon SES console, or by using the GetSendQuota API. I have confirmed that your account is active and able to send email in the US East (N. Virginia) region. ``` Domínio: hiperservicos.com.br
    1
    answers
    0
    votes
    10
    views
    asked 3 hours ago
  • We have 15TB data in on-premises server. We want to backed up the data from on-premises to AWS S3. Can anyone tell me the steps? Thanks in Advance.
    0
    answers
    0
    votes
    7
    views
    asked 3 hours ago
  • I have a dataset with seven records: ![Records](/media/postImages/original/IMgr26N0tBQyenQJAnS_rLHA) I want to return all records between 14 and 20 Dec, paging them two at a time. This is my first call, for the first page of results: ``` Dictionary<string, AttributeValue> expressionAttributeValues = new Dictionary<string, AttributeValue>(); Dictionary<string, string> expressionAttributeNames = new Dictionary<string, string>(); string filterExpression = string.Empty; AmazonDynamoDBClient client = new Amazon.DynamoDBv2.AmazonDynamoDBClient(creds); List<RecordingMetaData> recordings = new List<RecordingMetaData>(); expressionAttributeValues.Add(":startTime", new AttributeValue { S = $"2022-12-14" }); expressionAttributeValues.Add(":endTime", new AttributeValue { S = $"2022-12-20" }); filterExpression = $"#start > :startTime AND #start <= :endTime"; expressionAttributeNames.Add("#start", "StartTime"); ScanRequest scanRequest = new ScanRequest() { TableName = "SCRecordingMetaData", ExpressionAttributeNames = expressionAttributeNames, FilterExpression = filterExpression.Length > 0 ? filterExpression : null, ExpressionAttributeValues = expressionAttributeValues, Limit = 2 }; var response = new ScanResponse(); do { response = client.Scan(scanRequest); response.Items.ForEach(i => recordings.Add(new RecordingMetaData() { RecordingID = i["RecordingID"].S, Duration = Convert.ToInt32(i["Duration"].N), StartTime = Convert.ToDateTime(i["StartTime"].S), EndTime = Convert.ToDateTime(i["EndTime"].S), ANI = i["ANI"].S, DNS = i["DNS"].S, CreatedTime = Convert.ToDateTime(i["CreatedTime"].S), FilePath = i["FilePath"].S, AgentIDs = i.ContainsKey("AgentIDs") ? i["AgentIDs"].L : null, QueueIDs = i.ContainsKey("QueueIDs") ? i["QueueIDs"].L : null })); } while (response.LastEvaluatedKey.Count > 1); ``` it should, and does, return 3 records when there's no Limit set in the request. When it's set to 2, I would expect 2 results to be returned for the first page, with the LastEvaluatedKey being "5dcb2cd5-ddcc-41d8-b147-ec2aa95883ad" since this is the second key in the list that meets the filter criteria. However, only one result is returned, "2a45d769-fc43-4325-96ec-76e5cf0750fe" and this is also the LastEvaluatedKey. If I pass this value to the ExclusiveStartKey of the next call I get 0 results returned, but the LastEvaluatedKey is "8bce9df3-3921-4259-a70a-c9cf6d34f61f". So, what seems to be happening is that it only returns records that meet the filter criteria, but it is still in some way recognising that the other records that haven't been returned still exist, i.e. the first record set with no search filter should have "8c8c7afb-e529-4cb5-adb2-ab79d51f5741" and "2a45d769-fc43-4325-96ec-76e5cf0750fe", but because of the filter it only returns one record "2a45d769-fc43-4325-96ec-76e5cf0750fe". Surely it should return "2a45d769-fc43-4325-96ec-76e5cf0750fe" and "5dcb2cd5-ddcc-41d8-b147-ec2aa95883ad". How can you write any kind of paging with behaviour like this?
    0
    answers
    0
    votes
    2
    views
    Nick
    asked 3 hours ago
  • I have a dataset with seven records: ![Records](/media/postImages/original/IMgr26N0tBQyenQJAnS_rLHA) I want to return all records between 14 and 20 Dec, paging them two at a time. This is my first call, for the first page of results: ``` Dictionary<string, AttributeValue> expressionAttributeValues = new Dictionary<string, AttributeValue>(); Dictionary<string, string> expressionAttributeNames = new Dictionary<string, string>(); string filterExpression = string.Empty; AmazonDynamoDBClient client = new Amazon.DynamoDBv2.AmazonDynamoDBClient(creds); List<RecordingMetaData> recordings = new List<RecordingMetaData>(); expressionAttributeValues.Add(":startTime", new AttributeValue { S = $"2022-12-14" }); expressionAttributeValues.Add(":endTime", new AttributeValue { S = $"2022-12-20" }); filterExpression = $"#start > :startTime AND #start <= :endTime"; expressionAttributeNames.Add("#start", "StartTime"); ScanRequest scanRequest = new ScanRequest() { TableName = "SCRecordingMetaData", ExpressionAttributeNames = expressionAttributeNames, FilterExpression = filterExpression.Length > 0 ? filterExpression : null, ExpressionAttributeValues = expressionAttributeValues, Limit = 2 }; var response = new ScanResponse(); do { response = client.Scan(scanRequest); response.Items.ForEach(i => recordings.Add(new RecordingMetaData() { RecordingID = i["RecordingID"].S, Duration = Convert.ToInt32(i["Duration"].N), StartTime = Convert.ToDateTime(i["StartTime"].S), EndTime = Convert.ToDateTime(i["EndTime"].S), ANI = i["ANI"].S, DNS = i["DNS"].S, CreatedTime = Convert.ToDateTime(i["CreatedTime"].S), FilePath = i["FilePath"].S, AgentIDs = i.ContainsKey("AgentIDs") ? i["AgentIDs"].L : null, QueueIDs = i.ContainsKey("QueueIDs") ? i["QueueIDs"].L : null })); } while (response.LastEvaluatedKey.Count > 1); ``` it should, and does, return 3 records when there's no Limit set in the request. When it's set to 2, I would expect 2 results to be returned for the first page, with the LastEvaluatedKey being "5dcb2cd5-ddcc-41d8-b147-ec2aa95883ad" since this is the second key in the list that meets the filter criteria. However, only one result is returned, "2a45d769-fc43-4325-96ec-76e5cf0750fe" and this is also the LastEvaluatedKey. If I pass this value to the ExclusiveStartKey of the next call I get 0 results returned, but the LastEvaluatedKey is "8bce9df3-3921-4259-a70a-c9cf6d34f61f". So, what seems to be happening is that it only returns records that meet the filter criteria, but it is still in some way recognising that the other records that haven't been returned still exist, i.e. the first record set with no search filter should have "8c8c7afb-e529-4cb5-adb2-ab79d51f5741" and "2a45d769-fc43-4325-96ec-76e5cf0750fe", but because of the filter it only returns one record "2a45d769-fc43-4325-96ec-76e5cf0750fe". Surely it should return "2a45d769-fc43-4325-96ec-76e5cf0750fe" and "5dcb2cd5-ddcc-41d8-b147-ec2aa95883ad". How can you write any kind of paging with behaviour like this?
    0
    answers
    0
    votes
    2
    views
    Nick
    asked 3 hours ago
  • I have a custom device running FreeRTOS and Mbed-TLS. The device connects fine to the production IoT core endpoint and I can pub/sub to my hearts content; however, when I try to connect to the endpoint provided by the device advisor with a MQTT Connect testcase, it wont complete the TLS handshake. The log has two entries in it, the client hello and then a close-notify alert from the server. I tried using a little C# test application I wrote to connect to the same end point and that seems to work. I use the same method for both, the only difference is the device. I did decode the client hello my device is sending and I do not see anything obviously wrong. At the point of pulling my hair out, any tips? ``` +-------------------------------------------------+ | 0 1 2 3 4 5 6 7 8 9 a b c d e f | +--------+-------------------------------------------------+----------------+ |00000000| 16 03 03 00 a4 01 00 00 a0 03 03 80 e3 df 37 83 |..............7.| |00000010| 02 08 84 9d b0 6f e8 86 e9 e0 12 5e 77 f9 97 c6 |.....o.....^w...| |00000020| af 62 cf 43 c6 40 63 c0 77 3a 82 00 00 04 c0 2b |.b.C.@c.w:.....+| |00000030| 00 ff 01 00 00 73 00 00 00 47 00 45 00 00 42 74 |.....s...G.E..Bt| |00000040| 34 31 31 62 39 36 32 35 37 74 33 6e 78 35 69 7a |411b96257t3nx5iz| |00000050| 39 76 37 73 69 6a 73 2e 64 65 76 69 63 65 61 64 |9v7sijs.devicead| |00000060| 76 69 73 6f 72 2e 69 6f 74 2e 75 73 2d 65 61 73 |visor.iot.us-eas| |00000070| 74 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73 2e 63 6f |t-1.amazonaws.co| |00000080| 6d 00 0d 00 06 00 04 04 03 04 01 00 0a 00 0a 00 |m...............| |00000090| 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 00 00 |................| |000000a0| 10 00 06 00 04 03 90 03 9b |......... | +--------+-------------------------------------------------+----------------+ ``` ``` TLS Record Sender SERVER ContentType ALERT Length 7 Timestamp 2022-12-19T18:08:58Z +-------------------------------------------------+ | 0 1 2 3 4 5 6 7 8 9 a b c d e f | +--------+-------------------------------------------------+----------------+ |00000000| 15 03 03 00 02 01 00 |....... | +--------+-------------------------------------------------+----------------+ ``` ``` 16 03 03 00 a4 Record Header 16 - type is 0x16 (handshake record) 03 03 - protocol version is 3.3 (also known as TLS 1.2) 00 a4 - 0xA4 (164) bytes of handshake message follows 01 00 00 a0 01 - handshake message type 0x01 (client hello) 00 00 a0 - 0xA1 (160) bytes of client hello follows 03 03 The protocol version of "3,3" (meaning TLS 1.2) is given. 80 e3 df 37 83 02 08 84 9d b0 6f e8 86 e9 e0 12 5e 77 f9 97 c6 af 62 cf 43 c6 40 63 c0 77 3a 82 The client provides 32 bytes of random data. 00 Session id 00 - length of zero (no session id is provided) 00 04 Cipher Suites - 4 bytes of cipher suits follow c0 2b TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 00 ff TLS_EMPTY_RENEGOTIATION_INFO_SCSV 01 00 01 - 0x1 (1) bytes of compression methods follows 00 - assigned value for no compression 00 73 00 73 - the extensions will take 0x73 (115) bytes of data 00 00 Server Name Extension 00 47 71 Bytes Follow 00 45 69 Bytes of list entry 00 List entry type is 0x00 "DNS Hostname" 00 42 66 Bytes of host name follow 74 34 31 31 62 39 36 32 35 37 74 33 6e 78 35 69 7a 39 76 37 73 69 6a 73 2e 64 65 76 69 63 6561 64 76 69 73 6f 72 2e 69 6f 74 2e 75 73 2d 65 61 73 74 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73 2e 63 6f 6d Hostname - "t411b96257t3nx5iz9v7sijs.deviceadvisor.iot.us-east-1.amazonaws.com" 00 0d Signature Algorithms 00 06 6 Bytes follow 00 04 4 Bytes follow 04 03 ECDSA/SECP256r1/SHA256 04 01 RSA/PKCS1/SHA256 00 0a Supported Groups 00 0a 10 bytes of "supported groups" extension data follows 00 08 8 Bytes of data are in the curves list 00 1d x25519 00 17 secp256r1 00 18 secp384r1 00 19 secp521r1 00 0b EC Point Formats 00 02 2 bytes of EC points format data follows 01 1 bytes of data are in the list 00 Assigned value for uncompressed format ``` * I have tried adding the ALPN and trying both ports 8883 and 443 - No Change * I have tried a different test application which seems to work but there is nothing in the log the point as to what the difference between my device and the test device * My device connects fine to the normal endpoint and functions as expected * I would expect the device to connect to the Device Advisor endpoint.
    0
    answers
    0
    votes
    2
    views
    asked 3 hours ago
  • I get strange errors in the data quality tab of the glue studio, which seem to contradict the documentation in https://docs.aws.amazon.com/glue/latest/dg/dqdl.html#dqdl-rule-types-IsComplete: ``` Rule_13 IsComplete "abc" Rule failed Unsupported nested column type of column abc: ArrayType(DoubleType,true)! ``` Contradicts: "Supported column types: Any column type" ``` Rule_14 IsComplete "xyz" Rule failed Value: 0.6140889354693816 does not meet the constraint requirement! ``` Contradicts: "Checks whether all of the values in a column are complete (non-null)." Is there any better way to understand what is going wrong in my case?
    1
    answers
    0
    votes
    7
    views
    asked 3 hours ago
  • My CloudTrail logs list many user names that have this format: i-07c83123218faa22fe I've no idea what this means or what it references. Can anyone suggest where I look? Or where I might read up on things? Much appreciated.
    Accepted AnswerAWS CloudTrail
    1
    answers
    0
    votes
    12
    views
    asked 4 hours ago
  • Hello, I have a next.js/mysql application running on docker on my laptop. It uses docker-compose. I would like to deploy it to aws and take advantage of Load Balancer and Auto Scaling Groups. Do you suggest to use ECS to deploy the whole container (can I use LB and ASG) or should I better use cloudformation and only deploy the application code? In the latter case how should I setup my dev environment? I would like to have the DEV and the TEST/PRD environments consistent. thanks
    1
    answers
    0
    votes
    15
    views
    asked 4 hours ago
  • We have a lambda function for which provisioned conurrency =1 is enabled. We insert records in Postgres Aurora RDS using this lambda. We are connecting to RDS proxy endpoint to connect to db . The db object creation is done in below manner : ``` @staticmethod def init_database_dao(): if Dao._db_connection_dao is None: _logger.info(msg=f"creating db connection , singleton") ConnectionProvider._db_connection_metadata_dao = MetadataDao() // inside MetadataDao we are calling postgres.connect() else: _logger.info(msg=f"refreshing connection for MetadataDao singleton") DatabaseConnectionProvider._db_connection_metadata_dao.reset_if_cursor_or_conn_is_none() return DatabaseConnectionProvider._db_connection_metadata_dao ``` We getting 'SSL connection has been closed unexpectedly' while executing SELECT query once in few hours (can be in 2 hours ,sometimes in 6 hours). We have handled this Postgres Operational Error by resetting the connection in code and retrying and it works. Not able to find the root cause of this error. we are using RDS proxy, we increased the idle client timeout of the proxy from 30 mins to 60 mins , we observed the frequency of this error has reduced. Also we are using the same db for other lambda (with same db object creation implementation) , those lambdas dont have provisioned concurrency enabled, we never encountered SSL connection closed error in those lambdas, Is it somewhat related to the lambda always warmed up(provisioned concurrency) and the connection getting shutup or destroyed. Any suggestions to get rid of this error? Note : The lambda with provisioned concurrency is the entry point of the application . In this lambda we are getting connection object, then reading from db and inserting into db .Once it is executed the other lambdas are triggered .
    0
    answers
    0
    votes
    5
    views
    asked 5 hours ago
  • We had a vendor help setup our training set for comprehend custom classification and we are now questions the design. We know its a csv with class in the first column and text in the second but they design it that each line of text (from textract) should be single quote wrapped and comma delimited. We are questioning should it be one long line of text wrapped in double quotes for the text column of the csv. Is this Incorrect Drama, "['Here I am today.', 'Lots of text on lines.', 'Welcome to my example.']" Is this correct Drama, "Here I am today. Lots of text on lines. Welcome to my example."
    0
    answers
    0
    votes
    4
    views
    Troj
    asked 5 hours ago
  • EC2 instance (Ubuntu 20.04) was working fine a few times ago, but stopped working suddenly https://www.screencast.com/t/wgR8QN0je all network settings is correct I double
    0
    answers
    0
    votes
    4
    views
    asked 5 hours ago

Recent Knowledge Center content

see all
1/18

Recent articles

see all
1/18