You can also use chalk. Draw a chalk line around the snake cage or grind up chalk. For some reason ants hate chalk. But of course this wont get rid of the ants, it will just keep them from going into your snake cage.