Comments (2)
You're correct - I've got a non-empty VPCId for all the load-balancers. Thanks a lot!
from ec2-classic-resource-finder.
Hello Jörg,
Thank you for posting. Based on your output, it sounds like you are running Classic Load Balancers inside a VPC. As part of the EC2 Classic retirement, we are only retiring Classic Load Balancers not running in a VPC (thus running in EC2-Classic). Classic Load Balancers which are running in a VPC are not currently being retired as part of this.
You can confirm that these Classic Load Balancers are running in a VPC by running aws elb describe-load-balancers
in the AWS CLI.
If you see an output like this your Classic Load Balancer is running in a VPC and the script ran correctly (Note VPCId
value):
[cloudshell-user@ip-10-0-127-234 ~]$ aws elb describe-load-balancers
{
"LoadBalancerDescriptions": [
{
"LoadBalancerName": "VPC-CLB",
"DNSName": "VPC-CLB-484*******.us-west-2.elb.amazonaws.com",
"CanonicalHostedZoneName": "VPC-CLB-48*******.us-west-2.elb.amazonaws.com",
"CanonicalHostedZoneNameID": "Z1H*******",
"ListenerDescriptions": [
{
"Listener": {
"Protocol": "HTTP",
"LoadBalancerPort": 80,
"InstanceProtocol": "HTTP",
"InstancePort": 80
},
"PolicyNames": []
}
],
"Policies": {
"AppCookieStickinessPolicies": [],
"LBCookieStickinessPolicies": [],
"OtherPolicies": []
},
"BackendServerDescriptions": [],
"AvailabilityZones": [
"us-west-2b",
"us-west-2a"
],
"Subnets": [
"subnet-f6******",
"subnet-fe******"
],
"VPCId": "vpc-d9******",
"Instances": [],
"HealthCheck": {
"Target": "HTTP:80/index.html",
"Interval": 30,
"Timeout": 5,
"UnhealthyThreshold": 2,
"HealthyThreshold": 10
},
"SourceSecurityGroup": {
"OwnerAlias": "13************",
"GroupName": "Closed"
},
"SecurityGroups": [
"sg-07**************"
],
"CreatedTime": "2021-03-12T19:45:29.910000+00:00",
"Scheme": "internet-facing"
}
]
}
If, however, you see this, where there is no VPCId
key value pair, then something went wrong and the Classic Load Balancers are running in EC2-Classic. If that is the case for some reason, please reopen this, so we can investigate further.
[cloudshell-user@ip-10-0-127-234 ~]$ aws elb describe-load-balancers
{
"LoadBalancerDescriptions": [
{
"LoadBalancerName": "Classic-CLB",
"DNSName": "Classic-CLB-12******.us-west-2.elb.amazonaws.com",
"CanonicalHostedZoneName": "Classic-CLB-12******.us-west-2.elb.amazonaws.com",
"CanonicalHostedZoneNameID": "Z1H******",
"ListenerDescriptions": [
{
"Listener": {
"Protocol": "HTTP",
"LoadBalancerPort": 80,
"InstanceProtocol": "HTTP",
"InstancePort": 80
},
"PolicyNames": []
}
],
"Policies": {
"AppCookieStickinessPolicies": [],
"LBCookieStickinessPolicies": [],
"OtherPolicies": []
},
"BackendServerDescriptions": [],
"AvailabilityZones": [
"us-west-2a"
],
"Subnets": [],
"Instances": [],
"HealthCheck": {
"Target": "HTTP:80/index.html",
"Interval": 30,
"Timeout": 5,
"UnhealthyThreshold": 2,
"HealthyThreshold": 10
},
"SourceSecurityGroup": {
"OwnerAlias": "amazon-elb",
"GroupName": "amazon-elb-sg"
},
"SecurityGroups": [],
"CreatedTime": "2021-03-12T19:44:18.430000+00:00",
"Scheme": "internet-facing"
}
]
}
from ec2-classic-resource-finder.
Related Issues (19)
- Fails on Beanstalk applications with a space in the name HOT 1
- Script is failing today when attempting to connect to certain regions HOT 1
- Please add CLI profile support HOT 1
- ElasticBeanstalk Environments with Classic LBs are not detected HOT 2
- More details for Unknown status HOT 1
- More information about default security groups HOT 1
- Space in EB App Name cause incorrect data HOT 1
- a continue statement will make this run faster for regions without classic HOT 1
- Why does it flag default security groups as EC2 Classic resources? HOT 1
- AssertionError: cannot start a process twice HOT 8
- Use #!/usr/bin/env python3 instead of #!/usr/bin/python3
- China region is not supported
- Why do ElasticBeanstalk environments that are Terminated show up in `Classic_ElasticBeanstalk_Applications_Environments.csv`? HOT 3
- Missing permissions for elasticloadbalancing and elasticmapreduce HOT 2
- Prompts for MFA on every region in every account
- Allow regions to be specified HOT 1
- False positives on RDS instances HOT 2
- Clarification on output of CSVs needed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ec2-classic-resource-finder.