Follow popular topics

see all

Top contributors

see all
RankNameTotal points
1
1,653
2
1,433
3
1,327
4
1,170
5
1,140

Recent questions

see all
1/18
  • Hi. Is it possible to set up routing rules for pods in EKS using standard mesh plugins? I’m not able to install plugins like Calico.
    0
    answers
    0
    votes
    4
    views
    asked an hour ago
  • I know how to release a host. I am not trying to release a host. I am trying to DELETE a host. Why can't I DELETE a host? Are they designed to just stack up and accumulate ad nauseam or is there a way to get rid of them? https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#Hosts:
    0
    answers
    0
    votes
    3
    views
    HooHost
    asked 2 hours ago
  • Hello! I've recently setup a Client VPN. Authentication is done using AWS SSO (IAM Identity Center). I have downloaded the ovpn file and installed the AWS client. All works perfectly! I have tried loading the ovpn into other clients, such as OpenVPN or TunnelBlick, but both fail to work. Is it because of the federated authentication? If yes, can it be fixed?
    1
    answers
    0
    votes
    6
    views
    asked 2 hours ago
  • Hello, has anyone been able to figure out gzip-compression with API Gateway and S3 integration? If I have a uncompressed binary file in S3 and enable compression in API Gateway then requesting with "accept-encoding: gzip" works and returns proper gzip data (as long as payload is under 10MB). What doesn't seem to work is that when file in S3 is already gzipped and has content-encoding metadata defined. API gateway re-compresses the data. So I will then receive twice gzipped data, which then breaks on all http clients. This document here says that API gateway should not re-compress the data when integration returns content-encoding header. If the content-encoding metadata for the file has been defined, S3 will actually return that header. So is this a bug in API gateway? It seems to ignore the header and re-compresses already compressed data. Anyone has figured out how to get this to work?
    0
    answers
    0
    votes
    5
    views
    asked 3 hours ago
  • Hi, When I am creating cloudfront distribution it ask for AWS Certificate , but only in region Virginia, why only in this region? from what I understand cloudfront is global and doesn't have specific region. Thank you ![Enter image description here](/media/postImages/original/IMpRuWO3vIQDmJYQCYuxRarw)
    2
    answers
    0
    votes
    7
    views
    asked 3 hours ago
  • Hi Everyone, i'm new to amazon workspace. I created one yesterday and downloaded the app for mac os. I am trying to log in. Already put in registration code, but could not access. When I click forgot password to try to reset, it says "Server Error. There was an error with your request. Please try again later." Same thing for over 24 hours. Any recommendations? Thx in advance. -- I deleted the user and directory and tried again. With new email at the screen where I create password for first time getting the same error right now. Not sure why.... https://pasteboard.co/wuTdw49Y3MGA.png https://pasteboard.co/8tp5Gx3Rc8gr.png https://pasteboard.co/FG1sgltgUDf3.png
    0
    answers
    0
    votes
    2
    views
    asked 4 hours ago
  • Hi In Route 53 I tried to link domain to cloudfront distribution, but it doesn't show my distribution , it says that it can only show distributions from us-east-1: An alias to a CloudFront distribution and another record in the same hosted zone are global and available only in US East (N. Virginia). but cloudfront distribution doesn't have a region, it is global. I have no way to choose route 53 to be on on any other region like us-east-2. My default region is us-east-2. Also when in cloudfront when I try to add CNAME I get that I can only add certificate from us-east-1: Associate a certificate from AWS Certificate Manager. The certificate must be in the US East (N. Virginia) Region (us-east-1). but why only us-east-1? ![Enter image description here](/media/postImages/original/IMz-wKTwdFRO2YOD3pNEI-nQ) Can someone please help? Thank you ![Enter image description here](/media/postImages/original/IMnRF-tk1nTPiiw6-bJhrcEw)
    2
    answers
    0
    votes
    7
    views
    asked 4 hours ago
  • hi, my account was suspendent , could you help me to solve this issue
    0
    answers
    0
    votes
    3
    views
    ismail
    asked 5 hours ago
  • Instance launch failed This account is currently blocked and not recognized as a valid account. Please contact aws-verification@amazon.com if you have questions. * **Initializing requests * Succeeded * Creating security groups * Succeeded * Creating security group rules * Succeeded * Launch initiation * Failed** ![Enter image description here](/media/postImages/original/IMZApt--TKT7-9vipRGBrIrg) ![Enter image description here](/media/postImages/original/IMG9aIExvATe-WjzLTg_mefA) ![Enter image description here](/media/postImages/original/IMV4jtlqY_TsKy_Le1MagYJw)
    1
    answers
    0
    votes
    11
    views
    profile picture
    asked 6 hours ago
  • Hello I'm trying to run a SAM instance locally containing an API Gateway and a Lambda written in python. My goal is to POST images to my API so that I can upload them to an S3 bucket where they can be publicly served. If I do HTTP operations using JSON everything works fine, but when I try to POST a binary type like 'image/jpeg' I get the following error: ``` 2023-03-18 09:06:27 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) UnicodeDecodeError while processing HTTP request: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte 2023-03-18 09:06:34 127.0.0.1 - - [18/Mar/2023 09:06:34] "POST /media HTTP/1.1" 502 - ``` I've tried adding BinaryMediaTypes to my template.yaml and create a fully defined CloudFormation but I still get this error. Here's my code: https://github.com/caelumvox/blog-api Would anyone know how to get this working locally? Thank you
    0
    answers
    0
    votes
    4
    views
    asked 6 hours ago
  • All my instances,services,rds snapshots are deleted still there is increase in my bill.
    1
    answers
    0
    votes
    12
    views
    asked 7 hours ago
  • Hi AWS expert, I have a code read data from AWS aurora PostgreSQL, I want to bookmark the table with custom column named 'ceres_mono_index'. But it seems like the bookmark is still uses the primary key as the bookmark key instead of column 'ceres_mono_index'. Here is the code ```python cb_ceres = glueContext.create_dynamic_frame.from_options( connection_type="postgresql", connection_options={ "url": f"jdbc:postgresql://{ENDPOINT}:5432/{DBNAME}", "dbtable": "xxxxx_raw_ceres", "user": username, "password": password, }, additional_options={"jobBookmarkKeys": ["ceres_mono_index"], "jobBookmarkKeysSortOrder": "asc"}, transformation_ctx="cb_ceres_bookmark", ) ``` How could I fix the issue? Thank you
    1
    answers
    0
    votes
    7
    views
    asked 8 hours ago
  • I am trying to set up a Random Cut Forest model with a Data Quality job attached. I managed to train and deploy the model with the "data_capture" feature enabled. ``` python # Training rcf = sagemaker.RandomCutForest( role=role, instance_count=1, instance_type='ml.m4.xlarge', data_location=f"s3://{BUCKET}/random_cut_forest/input", output_path=f's3://{BUCKET}/random_cut_forest/output', num_sample_per_tree=1024, num_trees=50, serializer=JSONSerializer(), deserializer=CSVDeserializer() ) rs = rcf.record_set(df_multi_measurements.drop("datetime", axis=1).to_numpy()) rcf.fit(rs, wait=False) ``` ``` python # Deploy data_capture_config = DataCaptureConfig( enable_capture=True, sampling_percentage=100, destination_s3_uri=s3_capture_upload_path ) rcf_inference = rcf.deploy( initial_instance_count=1, instance_type='ml.m4.xlarge', endpoint_name=ENDPOINT_NAME, data_capture_config=data_capture_config, serializer=CSVSerializer(), deserializer=JSONDeserializer(), ) ``` Then, I configured and started the ModelMonitor job ``` python # Model Monitor my_default_monitor = DefaultModelMonitor( role=role, instance_count=1, instance_type="ml.m4.xlarge", volume_size_in_gb=5, max_runtime_in_seconds=3600 ) my_default_monitor.suggest_baseline( baseline_dataset=baseline_data_uri + "/df_multi_measurements.csv", dataset_format=DatasetFormat.csv(header=True), output_s3_uri=baseline_results_uri, wait=True, logs=False ) my_default_monitor.create_monitoring_schedule( monitor_schedule_name=mon_schedule_name, endpoint_input=rcf_inference.endpoint, output_s3_uri=s3_report_path, statistics=my_default_monitor.baseline_statistics(), constraints=my_default_monitor.suggested_constraints(), schedule_cron_expression=CronExpressionGenerator.hourly(), enable_cloudwatch_metrics=True, ) ``` But at the first run of the job I got this error: > Error: Encoding mismatch: Encoding is CSV for endpointInput, but Encoding is JSON for endpointOutput. We currently only support the same type of input and output encoding at the moment. Data captured looked like: ``` {"captureData":{"endpointInput":{"observedContentType":"text/csv","mode":"INPUT","data":"4.150000013333333,3.330000003333333,...","encoding":"CSV"},"endpointOutput":{"observedContentType":"application/json","mode":"OUTPUT","data":"{\"scores\":[{\"score\":0.5794829282}]}","encoding":"JSON"}},"eventMetadata":{"eventId":"79add993-68cf-4903-9dfe-8275d164496f","inferenceTime":"2023-03-17T14:10:08Z"},"eventVersion":"0"} ... ``` So later I tried to force input and output to be both CSV but no luck. After some tuning, I managed to instruct DataCapture to only collect requests in JSON so, since I couldn't change the output, now DataCapture has both input and output in the same (JSON) form. The JSON requests look like this: ``` json { "instances": [ { 'features': [3.8600000533333336, 3.5966666533333336...] }, ... ] } ``` and the model correctly works, returning its predictions: ``` b'{"scores":[{"score":0.6015237349},...]}' ``` Data captured now looks like: ``` {"captureData":{"endpointInput":{"observedContentType":"application/json","mode":"INPUT","data":"{\"instances\": [{\"features\": [3.8600000533333336, 3.5966666533333336, ...]}]}","encoding":"JSON"},"endpointOutput":{"observedContentType":"application/json","mode":"OUTPUT","data":"{\"scores\":[{\"score\":0.6015237349},{\"score\":0.4439660733},{\"score\":0.5100689867},{\"score\":0.5456048291},{\"score\":0.5099260466}]}","encoding":"JSON"}},"eventMetadata":{"eventId":"27e2c9cd-3301-419c-8d06-9ede4c6380e6","inferenceTime":"2023-03-17T17:10:18Z"},"eventVersion":"0"} ``` BUT... at the first run of this new configuration, the job returns an error on the data analysis part. So, after some search, I found that model monitor only works with tabular data or plain json, so I added a preprocessing step into the ModelMonitor https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-pre-and-post-processing.html The preprocessing script looks like this: ``` import json import random """ { "instances": [ { 'features': [3.8600000533333336, 3.5966666533333336...] } ... ] } """ def preprocess_handler(inference_record): input_record = inference_record.endpoint_input.data print(input_record) input_record_dict = json.loads(input_record) features = input_record_dict["instances"][0]['features'] return { str(i).zfill(20) : d for i, d in enumerate(features) } ``` And now, at the first run, again, I get an error that this time is absolutely NOT understandable at all: ``` 2023-03-17 18:08:46,326 ERROR Main: No usable value for features 2023-03-17T19:08:46.935+01:00 No usable value for completeness 2023-03-17T19:08:46.935+01:00 Did not find value which can be converted into double ``` At this stage I feel a bit stuck. How can this be fixed? RCF and ModelMonitor should be easier to be integrated in my opinion. What I am doing wrong?
    0
    answers
    0
    votes
    6
    views
    asked 10 hours ago
  • Hello I'm kinda new in AWS I read a lot and I can't figure out what's going on. when I try to use the lexv2 ```json { "message": "Credential should be scoped to correct service: 'lex'. " } ``` I did the following: 1. Create a CLI aws account (**test** user) 2. I added the permissions: **AmazonLexReadOnly** and **AmazonLexRunBotsOnly** I even added another that I read in another website ( I Created a new policy) with this json: ```json { "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": [ "lex:GetSession", "lex:RecognizeText", "lex:PutSession", "lex:DeleteSession", "lex:StartConversation", "lex:RecognizeUtterance" ], "Resource": "*" } ] } ``` 3. I created an access api key/secret key 4. Added to postman as AWS identification and hitting this url `https://runtime-v2-lex.us-east-1.amazonaws.com/bots/KVI5WI1AAA/botAliases/UZA1JMDAAA/botLocales/en_US/sessions/random/text` (the last letters I replaced with **AAA** just to hide the complete url and check if is the name or the ID) I got the botId from lex website, the alias I think is the correct (same from lex but I'm not sure if is the name or this ID), the (access key 1 is the one I'm using, and says **Access key last usedNever** ![My user](/media/postImages/original/IMMgfDfS_mTDqKWp0PNOs8UA) I can't figure out what's wrong, I tried to read a lot of tutorials but I have no luck. How I can setup this correctly?
    0
    answers
    0
    votes
    7
    views
    AutoZen
    asked 11 hours ago
  • I'm trying to launch an instance, but it's failing with the message "This account is currently blocked and not recognized as a valid account. Please contact aws-verification@amazon.com if you have questions." I'm not sure what's going on, because I've never had any problems with this account before. Can you help me fix this?
    1
    answers
    0
    votes
    12
    views
    asked 13 hours ago
  • I have recently used a 100% AWS associate voucher to book an exam schedule on VUE. However, I would like to cancel this schedule to take back the voucher and apply the voucher to my friend's account. Is this possible? If so, what are the steps I need to follow? I appreciate your assistance and prompt response on this matter.
    2
    answers
    0
    votes
    11
    views
    asked 14 hours ago
  • i don't want to use services of cloudwatch? Is it possible that i can cancel this because when i see my account cloudwatch alarms are keep increasing that will cost me
    2
    answers
    0
    votes
    9
    views
    asked 15 hours ago
  • Hi AWS Team, We are using AWS activate founders for product building. Earlier I have used my credit card for billing. This month , We were not having active credits but last week AWS increased our Active Credits to continue our Product development. Could you please let us know in our case, AWS is going to charge the amount from Credit Card at the end of month or usage amount will get debited from credits only. Thanks
    1
    answers
    0
    votes
    11
    views
    asked 18 hours ago

Recent Knowledge Center content

see all
1/18

Recent articles

see all
1/18