It is simple to create an Internet Gateway. All you need to do is configure your AWS and use the following command:-
C:\Users\priyj_kumar>aws ec2 create-internet-gateway
This command will give you an output stating your Internet gateway ID.
Hope it helps.