These insects are called mealybugs. There are many species of mealybugs, so it may well be different ones attacking the indoor plants than the outdoor ones. They can be difficult to control because they have a waxy coating that tends to repel insecticides. Insecticidal soap helps break through the wax and can kill them. Rubbing alcohol swabbed directly on them also works.