On your AWS instance do the following:
- Clone your GitHub repository. See this tutorial if you need help cloning your repository.
- Add a directory named bomb to your repo.
- Inside the bomb directory, write a program named bomb.c that creates a fork bomb (i.e. a program that creates infinitely many child processes).
- Run your program.
- After you run your program, you’ll notice that you are no longer able to use the Linux instance.
- Stop your instance (do not Terminate it) from the AWS console. It may take a few minutes for it to stop.
- Restart your instance and log back in.
- Push your code to GitHub.
© 2019, Eric. All rights reserved.