Ubuntu Instance On AWS M7i-flex — goes black — no VPC Flow Logs — hangs in stopping state

Continued issues with this particular instance (type?)

Teri Radichel
Bugs That Bite
Published in
3 min readDec 15, 2023

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Check out my series on Automating Cybersecurity Metrics | Code.

🔒 Related Stories: Bugs | AWS Security | Secure Code

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Yesterday I couldn’t connect to an EC2 instance I created on an AWS M7i-flex with an Ubuntu operating system.

Today I’m working away and suddenly my screen goes black. Sometimes you can click on the screen and get a login dialog box to log back in. Not this time.

I can see that the CPU Utilization was getting a bit high at the time.

I deployed this instance in a VPC with a template I commonly use to set up VPC with VPC Flow logs and the corresponding VPC Flow Log role. When I check the flow logs, none are present. Did I do something wrong? I manually add a log stream. I also added a second VPC flow log configuration to the VPC manually.

--

--

Teri Radichel
Bugs That Bite

CEO 2nd Sight Lab | Penetration Testing & Assessments | AWS Hero | Masters of Infosec & Software Engineering | GSE 240 etc | IANS | SANS Difference Makers Award