Everyone wants to be in AI or cloud, usually after watching one video at 1 am. Good. It is a real move, and it is more doable than the internet makes it sound. Here is a sane path.
Start from what you already have
Your current skills carry over more than you think. A backend engineer already has most of what cloud and platform work needs. A data analyst already has much of what an applied ML role needs.
Pick one direction
AI and cloud are wide. Choose one path, such as applied ML, GenAI applications, DevOps or platform engineering, and learn the core of that path.
Build something real
Nothing proves a switch like a project. Build something small that runs end to end and write it up. Put it on your resume.
Look for a bridge role
Many people move through a role at their current employer that touches the new area. Ask for it.
Be honest about the level
A switch can mean a step sideways for a while. Plan for it, then grow quickly.