FAQ

IndexTagsArchivesAbout
  • Can an AWS Lambda function call another

    2022-02-14

    Question I have 2 Lambda functions - one that produces a quote and one that turns a quote into an order. I'd like the Order lambda function to call the Quote function to regenerate the quote, rather than just receive it from an untrusted client. I've looked everywhere I can think of - but can't see how I'd go about chaining or calling the functions...surely this exists! Answer I found a way using the aws-sdk.…

    #node.js

  • Can't push image to Amazon ECR - fails with 'no basic auth credentials'

    2022-02-14

    Question I'm trying to push a docker image to an Amazon ECR registry. I'm using docker client Docker version 1.9.1, build a34a1d5. I use aws ecr get-login --region us-east-1 to get the docker login creds. Then I successfully login with those creds as follows: docker login -u AWS -p XXXX -e none https://####.dkr.ecr.us-east-1.amazonaws.com WARNING: login credentials saved in /Users/ar/.docker/config.json Login Succeeded But when I try to push my image I get the following error:…

    #amazon-web-services

  • Cannot ping AWS EC2 instance

    2022-02-14

    Question I have an EC2 instance running in AWS. When I try to ping from my local box it is not available. How can I make the instance pingable? Answer Add a new EC2 security group inbound rule: Type: Custom ICMP rule Protocol: Echo Request Port: N/A Source: your choice (I would select Anywhere to be able to ping from any machine)

    #amazon-web-services

  • Change key pair for ec2 instance

    2022-02-14

    Question How do I change the key pair for my ec2 instance in AWS management console? I can stop the instance, I can create new key pair, but I don't see any link to modify the instance's key pair. Answer This answer is useful in the case you no longer have SSH access to the existing server (i.e. you lost your private key). If you still have SSH access, please use one of the answers below.…

    #amazon-web-services

  • check if a key exists in a bucket in s3 using boto3

    2022-02-14

    Question I would like to know if a key exists in boto3. I can loop the bucket contents and check the key if it matches. But that seems longer and an overkill. Boto3 official docs explicitly state how to do this. May be I am missing the obvious. Can anybody point me how I can achieve this. Answer Boto 2's boto.s3.key.Key object used to have an exists method that checked if the key existed on S3 by doing a HEAD request and looking at the the result, but it seems that that no longer exists.…

    #python

  • Connect to Amazon EC2 file directory using Filezilla and SFTP

    2022-02-14

    Question I have created an AWS EC2 Instance and I want to be able to upload files to the server directory using FileZilla in the simplest and most straightforward fashion possible. Answer I've created a video tutorial for this. Just check: Connect to Amazon EC2 file directory using FileZilla and SFTP, Video Tutorial Summary of above video tutorial: Edit (Preferences) > Settings > Connection > SFTP, Click "Add key file” Browse to the location of your .…

    #amazon-web-services

  • Difference between Amazon EC2 and AWS Elastic Beanstalk [closed]

    2022-02-14

    Question Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. </div> This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed last year.…

    #amazon-web-services

  • «
  • 141
  • 142
  • 143
  • 144
  • 145
  • »

©2023 hugo-notepadium-mod

CC BY-NC-SA 4.0 | RSS

Powered by Hugo and the Notepadium-mod

^ TOP ^