All Questions
Tagged with amazon-vpc aws-cli
14
questions
3
votes
1
answer
7k
views
Why does an S3 to S3 copy care about VPCs? Related to error: "VPC endpoints do not support cross-region requests."
Goal: Get files
from Bucket 1 in ca-central-1 in Account A
to Bucket 2 in us-east-1 in Account B
using the AWS CLI from a third machine using an the IAM role with correct S3 read and write ...
7
votes
1
answer
5k
views
AWS - VPC creation date
Could you possibly let me know how I can check when the VPC has been created? Or how to check in cloudtrail who created vpc via cli?
I've tried to use cloudtrail and search in event name for CreateVpc ...
15
votes
2
answers
43k
views
Is there any way of viewing, in AWS, what ips in a subnet have been allocated?
Is there any way of seeing what ip addresses AWS thinks have been allocated in a subnet? I've run a ping scan, and I've checked our internal ip management software, and there should be more than 8 ips ...
2
votes
1
answer
486
views
Aws console vpc id does not match aws cli
When I log into my aws console I see the vpc id as "vpc-6856c210" however on my server through the aws cli I see "vpc-82fe07e9"
When I try to run a terraform script I get an error if i use 'vpc-...
3
votes
1
answer
2k
views
Export my whole AWS architecture into file?
In AWS, I have a VPC with many components inside, including subnets, security groups, gateways, load balancers, target groups, many instances, and others.
Is there any ways to export my whole ...
0
votes
1
answer
1k
views
Get the current VPC from CLI within the EC2 instance
How is it possible to display the current VPC from the CLI within a running Linux (Debian) EC2 instance?
0
votes
2
answers
207
views
AWS Secondary NIC disabled
In order, through the CLI:
I create the vpc {10.1.0.0/16}
I create two subnetworks {10.1.0.0/24, 10.1.1.0/24}
I create the EC2 instance with the default NIC in the 10.1.0.0/24 subnet
aws ec2 run-...
0
votes
1
answer
763
views
Using Cloud Formation can i migrate existing VPC from one amazon account to another
I want to migrate existing VPC, subnets, routetables etc from current amazon account to another amazon account using cloud formation.
How can i do this?
7
votes
1
answer
5k
views
How to set up IAM Role Permissions for VPC CloudWatch logs?
I am trying to allow aws to start my log service, and I have my log streams, and log groups added already.
When i got to my VPC dashboard, the status of the Flow Log I'm interested in says:
Access ...
1
vote
1
answer
942
views
How to configure aws in order to get log events?
My question has two parts:
- How to get log events? The command line tells me that I need to configure aws...
- How to configure aws?
I try to get log events by doing the following:
sudo aws logs ...
2
votes
1
answer
1k
views
Difference between "ingestionTime" and "timestamp" in AWS VPC flow logs?
I can see both "ingestionTime" and "timestamp" in my AWS VPC flow logs. The timestamp seems to change more frequently than the ingestionTime, but neither seems to tell me very much.
The docs here ...
0
votes
3
answers
2k
views
EC2ResponseError: 401 Unauthorized using Saltstack boto_vpc module
I'm trying to create a vpc using Saltstack and boto_vpc module. This is my state:
vpc_create:
module.run:
- name: boto_vpc.create
- cidr_block: '10.0.0.0/24'
- vpc_name: 'myVpc'
- ...
28
votes
5
answers
15k
views
How to list all VPC dependencies in AWS CLI?
I want to delete VPC through CLI. But get an error:
A client error (DependencyViolation) occurred when calling the DeleteVpc operation: The vpc 'vpc-xxx' has dependencies and cannot be deleted.
How ...
2
votes
2
answers
8k
views
Problems using EC2 command line tools on one of the instances
I'm having a bit of a problem with EC2 API tools timing out on a new instance I created.
Yesterday I took an image of a server on which the tools worked fine. I made some changes to the software it ...