I can't understand, how to connect mesh vertex groups to bones and I'm beginner in blender. In first step I've created a new one file (download) with Cylinder and added two connected bones. After that, I've added Armature object as Modifier to the Cylinder mesh.
After that I've created vertex group named g1 in Cylinder mesh.
And painted in Weight mode:
But I can't understand, how to assign connect this 'g1' vertex group to the bone named 'Bone.001'. After that manipulations, when I'am trying to rotate bone 'Bone.001' in Pose Mode, no mesh deformation applied. How can I "glue" end of the 'Bone.001' to the 'g1' vertex group?