Slice the dragon fruit in half. Scoop out the flesh and place it in a medium sauce pan. Discard the skin.
Add the sugar to the sauce pan.
Bring to a simmer over medium heat.
Cook for 20-25 minutes, stirring frequently, until the dragon fruit has reached a jam like consistency.
Add in the lemon juice and vanilla bean paste and mix well.
Cook for an additional 2 minutes.
Remove from heat and allow to cool before placing in a glass jar with a lid.